diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2009-08-31 02:34:50 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-03 02:07:36 -0400 |
commit | 451f14439847db302e5104c44458b2dbb4b1829d (patch) | |
tree | 697046c4438806c37c5b0835dc71b7fdd35b8a92 /drivers/net/igbvf | |
parent | 6ce9e7b5fe3195d1ae6e3a0753d4ddcac5cd699e (diff) |
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>
Diffstat (limited to 'drivers/net/igbvf')
-rw-r--r-- | drivers/net/igbvf/netdev.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/igbvf/netdev.c b/drivers/net/igbvf/netdev.c index dadb78229ad5..91024a3cdad3 100644 --- a/drivers/net/igbvf/netdev.c +++ b/drivers/net/igbvf/netdev.c | |||
@@ -96,8 +96,6 @@ static void igbvf_receive_skb(struct igbvf_adapter *adapter, | |||
96 | E1000_RXD_SPC_VLAN_MASK); | 96 | E1000_RXD_SPC_VLAN_MASK); |
97 | else | 97 | else |
98 | netif_receive_skb(skb); | 98 | netif_receive_skb(skb); |
99 | |||
100 | netdev->last_rx = jiffies; | ||
101 | } | 99 | } |
102 | 100 | ||
103 | static inline void igbvf_rx_checksum_adv(struct igbvf_adapter *adapter, | 101 | static inline void igbvf_rx_checksum_adv(struct igbvf_adapter *adapter, |
@@ -342,8 +340,6 @@ send_up: | |||
342 | igbvf_receive_skb(adapter, netdev, skb, staterr, | 340 | igbvf_receive_skb(adapter, netdev, skb, staterr, |
343 | rx_desc->wb.upper.vlan); | 341 | rx_desc->wb.upper.vlan); |
344 | 342 | ||
345 | netdev->last_rx = jiffies; | ||
346 | |||
347 | next_desc: | 343 | next_desc: |
348 | rx_desc->wb.upper.status_error = 0; | 344 | rx_desc->wb.upper.status_error = 0; |
349 | 345 | ||