From: Alexander Aring Date: Mon, 28 Oct 2013 09:24:19 +0000 (+0100) Subject: 6lowpan: remove skb->dev assignment X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b236b954de06c5a736b882ce66701ad1a86e12b1;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.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 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));