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-28 19:47:52 -0400 |
commit | b236b954de06c5a736b882ce66701ad1a86e12b1 (patch) | |
tree | 23fb9fc3651af067c8dcfccba5edb49d55568879 /net/ieee802154 | |
parent | b614442f3442122a3460d947005d172ba2e35899 (diff) | |
download | linux-b236b954de06c5a736b882ce66701ad1a86e12b1.tar.bz2 |
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/ieee802154')
-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)); |