mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
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>
This commit is contained in:
parent
92ae3efa53
commit
06bd12c3b8
1 changed files with 0 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue