/* atl1e_clean_rx_ring - Free rx-reservation skbs @adapter: board private structure  */
static void atl1e_clean_rx_ring(struct atl1e_adapter *adapter)
/* atl1e_clean_rx_ring - Free rx-reservation skbs @adapter: board private structure  */
static void atl1e_clean_rx_ring(struct atl1e_adapter *adapter)
{
	struct atl1e_rx_ring *rx_ring =
		(struct atl1e_rx_ring *)&adapter->rx_ring;
	struct atl1e_rx_page_desc *rx_page_desc = rx_ring->rx_page_desc;
	u16 i, j;
	if (adapter->ring_vir_addr == NULL)
		return;
	for (i = 0; i < adapter->num_rx_queues; i++) {
		for (j = 0; j < AT_PAGE_NUM_PER_QUEUE; j++) {
			if (rx_page_desc[i].rx_page[j].addr != NULL) {
				memset(rx_page_desc[i].rx_page[j].addr, 0,
						rx_ring->real_page_size);
			}
		}
	}
}