aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgb/ixgb_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ixgb/ixgb_main.c')
-rw-r--r--drivers/net/ixgb/ixgb_main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ixgb/ixgb_main.c b/drivers/net/ixgb/ixgb_main.c
index 9c9bf31e5c25..c68b182af008 100644
--- a/drivers/net/ixgb/ixgb_main.c
+++ b/drivers/net/ixgb/ixgb_main.c
@@ -2092,14 +2092,12 @@ ixgb_alloc_rx_buffers(struct ixgb_adapter *adapter)
2092 struct ixgb_buffer *buffer_info; 2092 struct ixgb_buffer *buffer_info;
2093 struct sk_buff *skb; 2093 struct sk_buff *skb;
2094 unsigned int i; 2094 unsigned int i;
2095 int num_group_tail_writes;
2096 long cleancount; 2095 long cleancount;
2097 2096
2098 i = rx_ring->next_to_use; 2097 i = rx_ring->next_to_use;
2099 buffer_info = &rx_ring->buffer_info[i]; 2098 buffer_info = &rx_ring->buffer_info[i];
2100 cleancount = IXGB_DESC_UNUSED(rx_ring); 2099 cleancount = IXGB_DESC_UNUSED(rx_ring);
2101 2100
2102 num_group_tail_writes = IXGB_RX_BUFFER_WRITE;
2103 2101
2104 /* leave three descriptors unused */ 2102 /* leave three descriptors unused */
2105 while(--cleancount > 2) { 2103 while(--cleancount > 2) {