summaryrefslogtreecommitdiff
path: root/net/ieee802154
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2013-10-28 10:24:19 +0100
committerDavid S. Miller <davem@davemloft.net>2013-10-28 19:47:52 -0400
commitb236b954de06c5a736b882ce66701ad1a86e12b1 (patch)
tree23fb9fc3651af067c8dcfccba5edb49d55568879 /net/ieee802154
parentb614442f3442122a3460d947005d172ba2e35899 (diff)
downloadlwn-b236b954de06c5a736b882ce66701ad1a86e12b1.tar.gz
lwn-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/ieee802154')
-rw-r--r--net/ieee802154/6lowpan.c1
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));