From: Alexander Aring Date: Mon, 28 Oct 2013 09:24:19 +0000 (+0100) Subject: 6lowpan: remove skb->dev assignment X-Git-Tag: v4.9.8~7477^2~117^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b236b954de06c5a736b882ce66701ad1a86e12b1;p=platform%2Fkernel%2Flinux-rpi3.git 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 Reviewed-by: Werner Almesberger Signed-off-by: David S. Miller --- diff --git a/net/ieee802154/6lowpan.c b/net/ieee802154/6lowpan.c index 7506d83..3bc32fb 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));