drivers/net: Kill now superfluous ->last_rx stores.
The generic packet receive code takes care of setting netdev->last_rx when necessary, for the sake of the bonding ARP monitor. Drivers need not do it any more. Some cases had to be skipped over because the drivers were making use of the ->last_rx value themselves. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -862,7 +862,6 @@ static void olympic_rx(struct net_device *dev)
|
||||
skb->protocol = tr_type_trans(skb,dev);
|
||||
netif_rx(skb) ;
|
||||
}
|
||||
dev->last_rx = jiffies ;
|
||||
olympic_priv->olympic_stats.rx_packets++ ;
|
||||
olympic_priv->olympic_stats.rx_bytes += length ;
|
||||
} /* if skb == null */
|
||||
@@ -1441,7 +1440,6 @@ static void olympic_arb_cmd(struct net_device *dev)
|
||||
dev->name, mac_hdr->saddr);
|
||||
}
|
||||
netif_rx(mac_frame);
|
||||
dev->last_rx = jiffies;
|
||||
|
||||
drop_frame:
|
||||
/* Now tell the card we have dealt with the received frame */
|
||||
|
Reference in New Issue
Block a user