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/arm | |
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/arm')
-rw-r--r-- | drivers/net/arm/ks8695net.c | 1 | ||||
-rw-r--r-- | drivers/net/arm/w90p910_ether.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/arm/ks8695net.c b/drivers/net/arm/ks8695net.c index 4f702d52606a..2a7b7745cc55 100644 --- a/drivers/net/arm/ks8695net.c +++ b/drivers/net/arm/ks8695net.c | |||
@@ -467,7 +467,6 @@ ks8695_rx_irq(int irq, void *dev_id) | |||
467 | netif_rx(skb); | 467 | netif_rx(skb); |
468 | 468 | ||
469 | /* Record stats */ | 469 | /* Record stats */ |
470 | ndev->last_rx = jiffies; | ||
471 | ndev->stats.rx_packets++; | 470 | ndev->stats.rx_packets++; |
472 | ndev->stats.rx_bytes += pktlen; | 471 | ndev->stats.rx_bytes += pktlen; |
473 | goto rx_finished; | 472 | goto rx_finished; |
diff --git a/drivers/net/arm/w90p910_ether.c b/drivers/net/arm/w90p910_ether.c index 3a0948f02b46..25e2627eb118 100644 --- a/drivers/net/arm/w90p910_ether.c +++ b/drivers/net/arm/w90p910_ether.c | |||
@@ -777,7 +777,6 @@ static void netdev_rx(struct net_device *dev) | |||
777 | 777 | ||
778 | rxbd = ðer->rdesc->desclist[ether->cur_rx]; | 778 | rxbd = ðer->rdesc->desclist[ether->cur_rx]; |
779 | 779 | ||
780 | dev->last_rx = jiffies; | ||
781 | } while (1); | 780 | } while (1); |
782 | } | 781 | } |
783 | 782 | ||