aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/stmmac
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-04-10 18:48:14 -0400
committerDavid S. Miller <davem@davemloft.net>2010-04-13 06:32:43 -0400
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 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 */