summaryrefslogtreecommitdiffstats
path: root/drivers/net/stmmac
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-04-10 22:48:14 +0000
committerDavid S. Miller <davem@davemloft.net>2010-04-13 03:32:43 -0700
commit127aa0e14b3e1f8476c4781facdfac11d5546872 (patch)
tree939bdf390d438942fb1efbc158f92705900817f9 /drivers/net/stmmac
parentacbbc07145b919248c410e1852b953d385be5c97 (diff)
drivers: net: last_rx elimination
Network drivers do not have to update last_rx, unless they need it for their private use. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/stmmac')
-rw-r--r--drivers/net/stmmac/stmmac_main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/stmmac/stmmac_main.c b/drivers/net/stmmac/stmmac_main.c
index cc532ef28c8..cbe2404223d 100644
--- a/drivers/net/stmmac/stmmac_main.c
+++ b/drivers/net/stmmac/stmmac_main.c
@@ -1280,7 +1280,6 @@ static int stmmac_rx(struct stmmac_priv *priv, int limit)
priv->dev->stats.rx_packets++;
priv->dev->stats.rx_bytes += frame_len;
- priv->dev->last_rx = jiffies;
}
entry = next_entry;
p = p_next; /* use prefetched values */