aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/et131x
diff options
context:
space:
mode:
authorMark Einon <mark.einon@gmail.com>2011-10-23 10:22:43 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-10-23 11:35:11 +0200
commit16d8de3cc9484ccebab20331c03d1b6ba8636d76 (patch)
tree1196c5e9eb959497b3d8d59fdf4c730f7fc97feb /drivers/staging/et131x
parentStaging: bcm: Fix three initialization errors in InterfaceDld.c (diff)
downloadlinux-dev-16d8de3cc9484ccebab20331c03d1b6ba8636d76.tar.xz
linux-dev-16d8de3cc9484ccebab20331c03d1b6ba8636d76.zip
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/et131x')
-rw-r--r--drivers/staging/et131x/et131x.c6
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 {
struct rx_status_block *rx_status_block;
dma_addr_t rx_status_bus;
- struct list_head recv_buff_pool;
-
/* RECV */
struct list_head recv_list;
u32 num_ready_recv;
@@ -2307,10 +2305,6 @@ void et131x_rx_dma_memory_free(struct et131x_adapter *adapter)
rx_ring->rx_status_block = NULL;
}
- /* Free receive buffer pool */
-
- /* Free receive packet pool */
-
/* Destroy the lookaside (RFD) pool */
if (adapter->flags & fMP_ADAPTER_RECV_LOOKASIDE) {
kmem_cache_destroy(rx_ring->recv_lookaside);