diff options
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/et131x/et131x.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/et131x/et131x.c b/drivers/staging/et131x/et131x.c index 1efa27c93f57..8c557cfa0c1a 100644 --- a/drivers/staging/et131x/et131x.c +++ b/drivers/staging/et131x/et131x.c | |||
@@ -329,8 +329,6 @@ struct rx_ring { | |||
329 | struct rx_status_block *rx_status_block; | 329 | struct rx_status_block *rx_status_block; |
330 | dma_addr_t rx_status_bus; | 330 | dma_addr_t rx_status_bus; |
331 | 331 | ||
332 | struct list_head recv_buff_pool; | ||
333 | |||
334 | /* RECV */ | 332 | /* RECV */ |
335 | struct list_head recv_list; | 333 | struct list_head recv_list; |
336 | u32 num_ready_recv; | 334 | u32 num_ready_recv; |
@@ -2307,10 +2305,6 @@ void et131x_rx_dma_memory_free(struct et131x_adapter *adapter) | |||
2307 | rx_ring->rx_status_block = NULL; | 2305 | rx_ring->rx_status_block = NULL; |
2308 | } | 2306 | } |
2309 | 2307 | ||
2310 | /* Free receive buffer pool */ | ||
2311 | |||
2312 | /* Free receive packet pool */ | ||
2313 | |||
2314 | /* Destroy the lookaside (RFD) pool */ | 2308 | /* Destroy the lookaside (RFD) pool */ |
2315 | if (adapter->flags & fMP_ADAPTER_RECV_LOOKASIDE) { | 2309 | if (adapter->flags & fMP_ADAPTER_RECV_LOOKASIDE) { |
2316 | kmem_cache_destroy(rx_ring->recv_lookaside); | 2310 | kmem_cache_destroy(rx_ring->recv_lookaside); |