projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55873ed
)
ieee802154: merge cleanup
author
Eric Dumazet
<eric.dumazet@gmail.com>
Wed, 2 Dec 2009 09:13:11 +0000
(
01:13
-0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 2 Dec 2009 09:13:11 +0000
(
01:13
-0800)
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>
drivers/ieee802154/fakehard.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ieee802154/fakehard.c
b/drivers/ieee802154/fakehard.c
index 5f67540e669c0d2e0053b77c1d5ffcf0fcc7c9ea..d9d0e13efe47bc3f9610d412e7799cc67042ac1f 100644
(file)
--- 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;