summaryrefslogtreecommitdiffstats
path: root/drivers/net/davinci_emac.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2009-08-31 06:34:50 +0000
committerDavid S. Miller <davem@davemloft.net>2009-09-02 23:07:36 -0700
commit451f14439847db302e5104c44458b2dbb4b1829d (patch)
tree697046c4438806c37c5b0835dc71b7fdd35b8a92 /drivers/net/davinci_emac.c
parent6ce9e7b5fe3195d1ae6e3a0753d4ddcac5cd699e (diff)
downloadtalos-op-linux-451f14439847db302e5104c44458b2dbb4b1829d.tar.gz
talos-op-linux-451f14439847db302e5104c44458b2dbb4b1829d.zip
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/davinci_emac.c')
-rw-r--r--drivers/net/davinci_emac.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/davinci_emac.c b/drivers/net/davinci_emac.c
index 5e6652b8728d..d465eaa796c4 100644
--- a/drivers/net/davinci_emac.c
+++ b/drivers/net/davinci_emac.c
@@ -1920,7 +1920,6 @@ static int emac_net_rx_cb(struct emac_priv *priv,
skb_put(p_skb, net_pkt_list->pkt_length);
EMAC_CACHE_INVALIDATE((unsigned long)p_skb->data, p_skb->len);
p_skb->protocol = eth_type_trans(p_skb, priv->ndev);
- p_skb->dev->last_rx = jiffies;
netif_receive_skb(p_skb);
priv->net_dev_stats.rx_bytes += net_pkt_list->pkt_length;
priv->net_dev_stats.rx_packets++;
OpenPOWER on IntegriCloud