Commit 16d8de3c authored by Mark Einon's avatar Mark Einon Committed by Greg Kroah-Hartman

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: default avatarMark Einon <mark.einon@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent a8658182
...@@ -329,8 +329,6 @@ struct rx_ring { ...@@ -329,8 +329,6 @@ struct rx_ring {
struct rx_status_block *rx_status_block; struct rx_status_block *rx_status_block;
dma_addr_t rx_status_bus; dma_addr_t rx_status_bus;
struct list_head recv_buff_pool;
/* RECV */ /* RECV */
struct list_head recv_list; struct list_head recv_list;
u32 num_ready_recv; u32 num_ready_recv;
...@@ -2307,10 +2305,6 @@ void et131x_rx_dma_memory_free(struct et131x_adapter *adapter) ...@@ -2307,10 +2305,6 @@ void et131x_rx_dma_memory_free(struct et131x_adapter *adapter)
rx_ring->rx_status_block = NULL; rx_ring->rx_status_block = NULL;
} }
/* Free receive buffer pool */
/* Free receive packet pool */
/* Destroy the lookaside (RFD) pool */ /* Destroy the lookaside (RFD) pool */
if (adapter->flags & fMP_ADAPTER_RECV_LOOKASIDE) { if (adapter->flags & fMP_ADAPTER_RECV_LOOKASIDE) {
kmem_cache_destroy(rx_ring->recv_lookaside); kmem_cache_destroy(rx_ring->recv_lookaside);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment