aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ieee802154
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2009-12-02 04:13:11 -0500
committerDavid S. Miller <davem@davemloft.net>2009-12-02 04:13:11 -0500
commitacb3cecdf89f9a9f30bf493f07dc5af333b45f8e (patch)
tree9c87df054eaa61cde473aa5086f93bd640506e68 /drivers/ieee802154
parent55873ed87fe6d34bd6f3a303c2d2ec6632c14525 (diff)
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 <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ieee802154')
-rw-r--r--drivers/ieee802154/fakehard.c3
1 files changed, 0 insertions, 3 deletions
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)
282static netdev_tx_t ieee802154_fake_xmit(struct sk_buff *skb, 282static netdev_tx_t ieee802154_fake_xmit(struct sk_buff *skb,
283 struct net_device *dev) 283 struct net_device *dev)
284{ 284{
285 skb->skb_iif = dev->ifindex;
286 skb->dev = dev;
287
288 dev->stats.tx_packets++; 285 dev->stats.tx_packets++;
289 dev->stats.tx_bytes += skb->len; 286 dev->stats.tx_bytes += skb->len;
290 287