aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/davinci_emac.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2009-08-31 02:34:50 -0400
committerDavid S. Miller <davem@davemloft.net>2009-09-03 02:07:36 -0400
commit451f14439847db302e5104c44458b2dbb4b1829d (patch)
tree697046c4438806c37c5b0835dc71b7fdd35b8a92 /drivers/net/davinci_emac.c
parent6ce9e7b5fe3195d1ae6e3a0753d4ddcac5cd699e (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/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,
1920 skb_put(p_skb, net_pkt_list->pkt_length); 1920 skb_put(p_skb, net_pkt_list->pkt_length);
1921 EMAC_CACHE_INVALIDATE((unsigned long)p_skb->data, p_skb->len); 1921 EMAC_CACHE_INVALIDATE((unsigned long)p_skb->data, p_skb->len);
1922 p_skb->protocol = eth_type_trans(p_skb, priv->ndev); 1922 p_skb->protocol = eth_type_trans(p_skb, priv->ndev);
1923 p_skb->dev->last_rx = jiffies;
1924 netif_receive_skb(p_skb); 1923 netif_receive_skb(p_skb);
1925 priv->net_dev_stats.rx_bytes += net_pkt_list->pkt_length; 1924 priv->net_dev_stats.rx_bytes += net_pkt_list->pkt_length;
1926 priv->net_dev_stats.rx_packets++; 1925 priv->net_dev_stats.rx_packets++;