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/ethoc.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/ethoc.c')
-rw-r--r-- | drivers/net/ethoc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethoc.c b/drivers/net/ethoc.c index b871aefed9c6..b7311bc00258 100644 --- a/drivers/net/ethoc.c +++ b/drivers/net/ethoc.c | |||
@@ -404,7 +404,6 @@ static int ethoc_rx(struct net_device *dev, int limit) | |||
404 | void *src = priv->membase + bd.addr; | 404 | void *src = priv->membase + bd.addr; |
405 | memcpy_fromio(skb_put(skb, size), src, size); | 405 | memcpy_fromio(skb_put(skb, size), src, size); |
406 | skb->protocol = eth_type_trans(skb, dev); | 406 | skb->protocol = eth_type_trans(skb, dev); |
407 | dev->last_rx = jiffies; | ||
408 | priv->stats.rx_packets++; | 407 | priv->stats.rx_packets++; |
409 | priv->stats.rx_bytes += size; | 408 | priv->stats.rx_bytes += size; |
410 | netif_receive_skb(skb); | 409 | netif_receive_skb(skb); |