diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-04-10 18:48:14 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-13 06:32:43 -0400 |
commit | 127aa0e14b3e1f8476c4781facdfac11d5546872 (patch) | |
tree | 939bdf390d438942fb1efbc158f92705900817f9 /drivers/net/stmmac | |
parent | acbbc07145b919248c410e1852b953d385be5c97 (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.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/stmmac/stmmac_main.c b/drivers/net/stmmac/stmmac_main.c index cc532ef28c8f..cbe2404223d7 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) | |||
1280 | 1280 | ||
1281 | priv->dev->stats.rx_packets++; | 1281 | priv->dev->stats.rx_packets++; |
1282 | priv->dev->stats.rx_bytes += frame_len; | 1282 | priv->dev->stats.rx_bytes += frame_len; |
1283 | priv->dev->last_rx = jiffies; | ||
1284 | } | 1283 | } |
1285 | entry = next_entry; | 1284 | entry = next_entry; |
1286 | p = p_next; /* use prefetched values */ | 1285 | p = p_next; /* use prefetched values */ |