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/smsc911x.c | |
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/smsc911x.c')
-rw-r--r-- | drivers/net/smsc911x.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/smsc911x.c b/drivers/net/smsc911x.c index c2667855a005..ccdd196f5297 100644 --- a/drivers/net/smsc911x.c +++ b/drivers/net/smsc911x.c | |||
@@ -1047,7 +1047,6 @@ static int smsc911x_poll(struct napi_struct *napi, int budget) | |||
1047 | /* Update counters */ | 1047 | /* Update counters */ |
1048 | dev->stats.rx_packets++; | 1048 | dev->stats.rx_packets++; |
1049 | dev->stats.rx_bytes += (pktlength - 4); | 1049 | dev->stats.rx_bytes += (pktlength - 4); |
1050 | dev->last_rx = jiffies; | ||
1051 | } | 1050 | } |
1052 | 1051 | ||
1053 | /* Return total received packets */ | 1052 | /* Return total received packets */ |