Skip to content

Commit

Permalink
staging: et131x: Remove unused rx_ring.recv_buffer_pool
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Einon authored and Greg Kroah-Hartman committed Oct 23, 2011
1 parent a865818 commit 16d8de3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/staging/et131x/et131x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 16d8de3

Please sign in to comment.