summaryrefslogtreecommitdiffstats
path: root/net/8021q/vlan_dev.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-11-04 07:01:07 +0100
committerDavid S. Miller <davem@davemloft.net>2008-11-04 07:01:07 +0100
commitd2ad3ca88da02baeccd5216780f1fe983c6953ba (patch)
tree62858c1c1f89cf4abe17f5e4e0812b1b528fbd18 /net/8021q/vlan_dev.c
parentnetem: eliminate unneeded return values (diff)
downloadlinux-d2ad3ca88da02baeccd5216780f1fe983c6953ba.tar.xz
linux-d2ad3ca88da02baeccd5216780f1fe983c6953ba.zip
net/: Kill now superfluous ->last_rx stores.
The generic packet receive code takes care of setting netdev->last_rx when necessary, for the sake of the bonding ARP monitor. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q/vlan_dev.c')
-rw-r--r--net/8021q/vlan_dev.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/8021q/vlan_dev.c b/net/8021q/vlan_dev.c
index c269fcbd13d5..e4bf39f87032 100644
--- a/net/8021q/vlan_dev.c
+++ b/net/8021q/vlan_dev.c
@@ -163,8 +163,6 @@ int vlan_skb_recv(struct sk_buff *skb, struct net_device *dev,
goto err_unlock;
}
- skb->dev->last_rx = jiffies;
-
stats = &skb->dev->stats;
stats->rx_packets++;
stats->rx_bytes += skb->len;