* [PATCH 1/10]: aoe: Remove superfluous clearing of skb fields in new_skb().
@ 2009-05-29 8:40 David Miller
0 siblings, 0 replies; only message in thread
From: David Miller @ 2009-05-29 8:40 UTC (permalink / raw)
To: netdev; +Cc: linux-wireless
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 | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/drivers/block/aoe/aoecmd.c b/drivers/block/aoe/aoecmd.c
index 31693bc..965ece2 100644
--- 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;
}
--
1.6.3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-05-29 8:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-29 8:40 [PATCH 1/10]: aoe: Remove superfluous clearing of skb fields in new_skb() David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).