diff options
author | David S. Miller <davem@davemloft.net> | 2008-11-04 01:01:07 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-04 01:01:07 -0500 |
commit | d2ad3ca88da02baeccd5216780f1fe983c6953ba (patch) | |
tree | 62858c1c1f89cf4abe17f5e4e0812b1b528fbd18 /net/dsa | |
parent | 265eb67fb4e16be8e46a51e1e4e2ecd99fb15219 (diff) |
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/dsa')
-rw-r--r-- | net/dsa/tag_dsa.c | 1 | ||||
-rw-r--r-- | net/dsa/tag_edsa.c | 1 | ||||
-rw-r--r-- | net/dsa/tag_trailer.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/net/dsa/tag_dsa.c b/net/dsa/tag_dsa.c index bdc0510b53b7..ff55823a6534 100644 --- a/net/dsa/tag_dsa.c +++ b/net/dsa/tag_dsa.c | |||
@@ -161,7 +161,6 @@ static int dsa_rcv(struct sk_buff *skb, struct net_device *dev, | |||
161 | skb_push(skb, ETH_HLEN); | 161 | skb_push(skb, ETH_HLEN); |
162 | skb->protocol = eth_type_trans(skb, skb->dev); | 162 | skb->protocol = eth_type_trans(skb, skb->dev); |
163 | 163 | ||
164 | skb->dev->last_rx = jiffies; | ||
165 | skb->dev->stats.rx_packets++; | 164 | skb->dev->stats.rx_packets++; |
166 | skb->dev->stats.rx_bytes += skb->len; | 165 | skb->dev->stats.rx_bytes += skb->len; |
167 | 166 | ||
diff --git a/net/dsa/tag_edsa.c b/net/dsa/tag_edsa.c index f985ea993843..24b1c76fa7a4 100644 --- a/net/dsa/tag_edsa.c +++ b/net/dsa/tag_edsa.c | |||
@@ -180,7 +180,6 @@ static int edsa_rcv(struct sk_buff *skb, struct net_device *dev, | |||
180 | skb_push(skb, ETH_HLEN); | 180 | skb_push(skb, ETH_HLEN); |
181 | skb->protocol = eth_type_trans(skb, skb->dev); | 181 | skb->protocol = eth_type_trans(skb, skb->dev); |
182 | 182 | ||
183 | skb->dev->last_rx = jiffies; | ||
184 | skb->dev->stats.rx_packets++; | 183 | skb->dev->stats.rx_packets++; |
185 | skb->dev->stats.rx_bytes += skb->len; | 184 | skb->dev->stats.rx_bytes += skb->len; |
186 | 185 | ||
diff --git a/net/dsa/tag_trailer.c b/net/dsa/tag_trailer.c index d3117764b2c2..3bfd2e55877a 100644 --- a/net/dsa/tag_trailer.c +++ b/net/dsa/tag_trailer.c | |||
@@ -97,7 +97,6 @@ static int trailer_rcv(struct sk_buff *skb, struct net_device *dev, | |||
97 | skb_push(skb, ETH_HLEN); | 97 | skb_push(skb, ETH_HLEN); |
98 | skb->protocol = eth_type_trans(skb, skb->dev); | 98 | skb->protocol = eth_type_trans(skb, skb->dev); |
99 | 99 | ||
100 | skb->dev->last_rx = jiffies; | ||
101 | skb->dev->stats.rx_packets++; | 100 | skb->dev->stats.rx_packets++; |
102 | skb->dev->stats.rx_bytes += skb->len; | 101 | skb->dev->stats.rx_bytes += skb->len; |
103 | 102 | ||