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/ksz884x.c | |
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/ksz884x.c')
-rw-r--r-- | drivers/net/ksz884x.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ksz884x.c b/drivers/net/ksz884x.c index 870185837a3b..4a231bdb5671 100644 --- a/drivers/net/ksz884x.c +++ b/drivers/net/ksz884x.c | |||
@@ -5054,8 +5054,6 @@ static inline int rx_proc(struct net_device *dev, struct ksz_hw* hw, | |||
5054 | priv->stats.rx_bytes += packet_len; | 5054 | priv->stats.rx_bytes += packet_len; |
5055 | 5055 | ||
5056 | /* Notify upper layer for received packet. */ | 5056 | /* Notify upper layer for received packet. */ |
5057 | dev->last_rx = jiffies; | ||
5058 | |||
5059 | rx_status = netif_rx(skb); | 5057 | rx_status = netif_rx(skb); |
5060 | 5058 | ||
5061 | return 0; | 5059 | return 0; |