Skip to content

Commit

Permalink
ieee802154: merge cleanup
Browse files Browse the repository at this point in the history
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 <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Dec 2, 2009
1 parent 55873ed commit acb3cec
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/ieee802154/fakehard.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit acb3cec

Please sign in to comment.