提交 f1d2e490 编写于 作者: M Malli Chilakala 提交者: Jeff Garzik

[PATCH] e1000:Removed redundant statement in e1000_clean_tx_irq

Removed redundant statement in e1000_clean_tx_irq
Signed-off-by: NMallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Signed-off-by: NGanesh Venkatesan <ganesh.venkatesan@intel.com>
Signed-off-by: NJohn Ronciak <john.ronciak@intel.com>
diff -up net-drivers-2.6/drivers/net/e1000/e1000_main.c net-drivers-2.6/drivers/net/e1000.new/e1000_main.c
上级 97338bde
......@@ -2436,7 +2436,6 @@ e1000_clean_tx_irq(struct e1000_adapter *adapter)
tx_desc->lower.data = 0;
tx_desc->upper.data = 0;
cleaned = (i == eop);
if(unlikely(++i == tx_ring->count)) i = 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册