diff options
author | Alexander Aring <alex.aring@gmail.com> | 2013-10-28 10:24:19 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-29 00:47:52 +0100 |
commit | b236b954de06c5a736b882ce66701ad1a86e12b1 (patch) | |
tree | 23fb9fc3651af067c8dcfccba5edb49d55568879 /net | |
parent | 6lowpan: use netdev_alloc_skb instead dev_alloc_skb (diff) | |
download | linux-b236b954de06c5a736b882ce66701ad1a86e12b1.tar.xz linux-b236b954de06c5a736b882ce66701ad1a86e12b1.zip |
6lowpan: remove skb->dev assignment
This patch removes the assignment of skb->dev. We don't need it here because
we use the netdev_alloc_skb_ip_align function which already sets the
skb->dev.
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Reviewed-by: Werner Almesberger <werner@almesberger.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/ieee802154/6lowpan.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ieee802154/6lowpan.c b/net/ieee802154/6lowpan.c index 7506d83300b0..3bc32fb2df8f 100644 --- a/net/ieee802154/6lowpan.c +++ b/net/ieee802154/6lowpan.c @@ -785,7 +785,6 @@ lowpan_alloc_new_frame(struct sk_buff *skb, u16 len, u16 tag) goto skb_err; frame->skb->priority = skb->priority; - frame->skb->dev = skb->dev; /* reserve headroom for uncompressed ipv6 header */ skb_reserve(frame->skb, sizeof(struct ipv6hdr)); |