summaryrefslogtreecommitdiffstats
path: root/drivers/net/bcm63xx_enet.c
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/bcm63xx_enet.c
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/bcm63xx_enet.c')
-rw-r--r--drivers/net/bcm63xx_enet.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/bcm63xx_enet.c b/drivers/net/bcm63xx_enet.c
index 37a4be57a2b7..9a8bdea4a8ec 100644
--- a/drivers/net/bcm63xx_enet.c
+++ b/drivers/net/bcm63xx_enet.c
@@ -344,7 +344,6 @@ static int bcm_enet_receive_queue(struct net_device *dev, int budget)
skb->protocol = eth_type_trans(skb, dev);
priv->stats.rx_packets++;
priv->stats.rx_bytes += len;
- dev->last_rx = jiffies;
netif_receive_skb(skb);
} while (--budget > 0);