summaryrefslogtreecommitdiffstats
path: root/drivers/net/stmmac
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-04-11 00:48:14 +0200
committerDavid S. Miller <davem@davemloft.net>2010-04-13 12:32:43 +0200
commit127aa0e14b3e1f8476c4781facdfac11d5546872 (patch)
tree939bdf390d438942fb1efbc158f92705900817f9 /drivers/net/stmmac
parentnet: uninline skb_bond_should_drop() (diff)
downloadlinux-127aa0e14b3e1f8476c4781facdfac11d5546872.tar.xz
linux-127aa0e14b3e1f8476c4781facdfac11d5546872.zip
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)
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 */