mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 03:10:30 -04:00
[PATCH] e1000:Removed redundant statement in e1000_clean_tx_irq
Removed redundant statement in e1000_clean_tx_irq Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com> Signed-off-by: Ganesh Venkatesan <ganesh.venkatesan@intel.com> Signed-off-by: John 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
This commit is contained in:
committed by
Jeff Garzik
parent
97338bde27
commit
f1d2e4905e
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user