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:
5615968
)
aoe: Remove superfluous clearing of skb fields in new_skb().
author
David S. Miller
<davem@davemloft.net>
Thu, 28 May 2009 00:09:44 +0000
(17:09 -0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 28 May 2009 00:09:44 +0000
(17:09 -0700)
This code uses alloc_skb() which clears them out for us.
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/block/aoe/aoecmd.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/block/aoe/aoecmd.c
b/drivers/block/aoe/aoecmd.c
index 31693bc24444f3541c74dfccc9c9c384edf8fd5a..965ece2c7e4da6040454443395adb89240eaa475 100644
(file)
--- a/
drivers/block/aoe/aoecmd.c
+++ b/
drivers/block/aoe/aoecmd.c
@@
-34,13
+34,6
@@
new_skb(ulong len)
skb_reset_mac_header(skb);
skb_reset_network_header(skb);
skb->protocol = __constant_htons(ETH_P_AOE);
- skb->priority = 0;
- skb->next = skb->prev = NULL;
-
- /* tell the network layer not to perform IP checksums
- * or to get the NIC to do it
- */
- skb->ip_summed = CHECKSUM_NONE;
}
return skb;
}