From: Eric Dumazet Date: Wed, 2 Dec 2009 09:13:11 +0000 (-0800) Subject: ieee802154: merge cleanup X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=acb3cecdf89f9a9f30bf493f07dc5af333b45f8e;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ieee802154: merge cleanup A small cleanup after last net-2.6 merge into net-next-2.6 As we are going to free skb, no need to set skb->skb_iif or skb->dev Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- diff --git a/drivers/ieee802154/fakehard.c b/drivers/ieee802154/fakehard.c index 5f67540e669c..d9d0e13efe47 100644 --- a/drivers/ieee802154/fakehard.c +++ b/drivers/ieee802154/fakehard.c @@ -282,9 +282,6 @@ static int ieee802154_fake_close(struct net_device *dev) static netdev_tx_t ieee802154_fake_xmit(struct sk_buff *skb, struct net_device *dev) { - skb->skb_iif = dev->ifindex; - skb->dev = dev; - dev->stats.tx_packets++; dev->stats.tx_bytes += skb->len;