diff options
author | David S. Miller <davem@davemloft.net> | 2009-05-27 20:09:44 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-27 20:09:44 -0400 |
commit | 438263ac58f8c2a3a409b7d4e68a37725bd95818 (patch) | |
tree | 373ae8b137a0194fcc6f77668e253c6f5bec0b1d /drivers/block/aoe | |
parent | 5615968a70845157adaffc11062c997d045339ee (diff) |
aoe: Remove superfluous clearing of skb fields in new_skb().
This code uses alloc_skb() which clears them out for us.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/block/aoe')
-rw-r--r-- | drivers/block/aoe/aoecmd.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/block/aoe/aoecmd.c b/drivers/block/aoe/aoecmd.c index 31693bc24444..965ece2c7e4d 100644 --- a/drivers/block/aoe/aoecmd.c +++ b/drivers/block/aoe/aoecmd.c | |||
@@ -34,13 +34,6 @@ new_skb(ulong len) | |||
34 | skb_reset_mac_header(skb); | 34 | skb_reset_mac_header(skb); |
35 | skb_reset_network_header(skb); | 35 | skb_reset_network_header(skb); |
36 | skb->protocol = __constant_htons(ETH_P_AOE); | 36 | skb->protocol = __constant_htons(ETH_P_AOE); |
37 | skb->priority = 0; | ||
38 | skb->next = skb->prev = NULL; | ||
39 | |||
40 | /* tell the network layer not to perform IP checksums | ||
41 | * or to get the NIC to do it | ||
42 | */ | ||
43 | skb->ip_summed = CHECKSUM_NONE; | ||
44 | } | 37 | } |
45 | return skb; | 38 | return skb; |
46 | } | 39 | } |