projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86d5d38
)
igb: remove dead code in transmit routine
author
Jesse Brandeburg
<jesse.brandeburg@intel.com>
Fri, 6 Feb 2009 23:23:32 +0000
(23:23 +0000)
committer
David S. Miller
<davem@davemloft.net>
Sat, 7 Feb 2009 10:43:18 +0000
(
02:43
-0800)
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igb/igb_main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/igb/igb_main.c
b/drivers/net/igb/igb_main.c
index 8bc1ffa04ec298fc598396299ea83ab2a81e04e1..f8c2919bcec02da234b3516f4918bac6a658fdeb 100644
(file)
--- a/
drivers/net/igb/igb_main.c
+++ b/
drivers/net/igb/igb_main.c
@@
-2951,12
+2951,9
@@
static int igb_xmit_frame_ring_adv(struct sk_buff *skb,
struct igb_adapter *adapter = netdev_priv(netdev);
unsigned int first;
unsigned int tx_flags = 0;
- unsigned int len;
u8 hdr_len = 0;
int tso = 0;
- len = skb_headlen(skb);
-
if (test_bit(__IGB_DOWN, &adapter->state)) {
dev_kfree_skb_any(skb);
return NETDEV_TX_OK;