aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/pcnet32.c
diff options
context:
space:
mode:
authorJohn Dykstra <john.dykstra1@gmail.com>2009-04-27 05:42:20 -0400
committerDavid S. Miller <davem@davemloft.net>2009-04-27 05:42:20 -0400
commit06bd12c3b861f8ca9e1215428b19dc0026c6268f (patch)
treea1654ef66cca585a969aca2f5b14e5835fb66b65 /drivers/net/pcnet32.c
parent92ae3efa53b481ad669d8b85c6cfa37d774bb21e (diff)
pcnet32: Remove redundant set of skb->dev
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>
Diffstat (limited to 'drivers/net/pcnet32.c')
-rw-r--r--drivers/net/pcnet32.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/pcnet32.c b/drivers/net/pcnet32.c
index 80124fac65fa..e5e8c59243b6 100644
--- a/drivers/net/pcnet32.c
+++ b/drivers/net/pcnet32.c
@@ -1227,7 +1227,6 @@ static void pcnet32_rx_entry(struct net_device *dev,
1227 dev->stats.rx_dropped++; 1227 dev->stats.rx_dropped++;
1228 return; 1228 return;
1229 } 1229 }
1230 skb->dev = dev;
1231 if (!rx_in_place) { 1230 if (!rx_in_place) {
1232 skb_reserve(skb, NET_IP_ALIGN); 1231 skb_reserve(skb, NET_IP_ALIGN);
1233 skb_put(skb, pkt_len); /* Make room */ 1232 skb_put(skb, pkt_len); /* Make room */