diff options
author | Mark Einon <mark.einon@gmail.com> | 2011-10-23 05:22:43 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-10-23 05:35:11 -0400 |
commit | 16d8de3cc9484ccebab20331c03d1b6ba8636d76 (patch) | |
tree | 1196c5e9eb959497b3d8d59fdf4c730f7fc97feb /drivers/staging | |
parent | a86581829fdd646655116f89cb8af2f22b5fbf9e (diff) |
staging: et131x: Remove unused rx_ring.recv_buffer_pool
rx_ring.recv_buffer_pool is unused, even in the original driver code.
Remove from stuct, and also remove some comments regarding it.
Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
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); |