aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgb/ixgb_main.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-03-27 21:48:56 -0400
committerDavid S. Miller <davem@davemloft.net>2008-03-27 21:48:56 -0400
commit8e8e43843ba3ced0c657cbc0fdb10644ec60f772 (patch)
treee64954326ced9c365c52c256f01b5f9fb1bcae66 /drivers/net/ixgb/ixgb_main.c
parented85f2c3b2b72bd20f617ac749f5c22be8d0f66e (diff)
parent50fd4407b8bfbde7c1a0bfe4f24de7df37164342 (diff)
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: drivers/net/usb/rndis_host.c drivers/net/wireless/b43/dma.c net/ipv6/ndisc.c
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) {