projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92ae3ef
)
pcnet32: Remove redundant set of skb->dev
author
John Dykstra
<john.dykstra1@gmail.com>
Mon, 27 Apr 2009 09:42:20 +0000
(
02:42
-0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 27 Apr 2009 09:42:20 +0000
(
02:42
-0700)
Remove redundant set of skb->dev (now handled for ethernet
drivers by eth_type_trans()).
Signed-off-by: John Dykstra <john.dykstra1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pcnet32.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/pcnet32.c
b/drivers/net/pcnet32.c
index 80124fac65fa83682a7b256db5dd11039fb7d445..e5e8c59243b6e9d09bc1284949f1bc086b7ddbaa 100644
(file)
--- a/
drivers/net/pcnet32.c
+++ b/
drivers/net/pcnet32.c
@@
-1227,7
+1227,6
@@
static void pcnet32_rx_entry(struct net_device *dev,
dev->stats.rx_dropped++;
return;
}
- skb->dev = dev;
if (!rx_in_place) {
skb_reserve(skb, NET_IP_ALIGN);
skb_put(skb, pkt_len); /* Make room */