mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
drivers: 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. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Acked-by: Neil Horman <nhorman@txudriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
6ce9e7b5fe
commit
451f144398
@@ -96,8 +96,6 @@ static void igbvf_receive_skb(struct igbvf_adapter *adapter,
|
||||
E1000_RXD_SPC_VLAN_MASK);
|
||||
else
|
||||
netif_receive_skb(skb);
|
||||
|
||||
netdev->last_rx = jiffies;
|
||||
}
|
||||
|
||||
static inline void igbvf_rx_checksum_adv(struct igbvf_adapter *adapter,
|
||||
@@ -342,8 +340,6 @@ send_up:
|
||||
igbvf_receive_skb(adapter, netdev, skb, staterr,
|
||||
rx_desc->wb.upper.vlan);
|
||||
|
||||
netdev->last_rx = jiffies;
|
||||
|
||||
next_desc:
|
||||
rx_desc->wb.upper.status_error = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user