diff options
author | David S. Miller <davem@davemloft.net> | 2008-11-04 00:11:17 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-04 00:11:17 -0500 |
commit | babcda74e9d96bb58fd9c6c5112dbdbff169e695 (patch) | |
tree | fcbe5e70f1fff01ad49504171e964c387a5ad7f8 /drivers/net/wireless/orinoco.c | |
parent | ab2910921064b657610a3b501358a305e13087ea (diff) |
drivers/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.
Drivers need not do it any more.
Some cases had to be skipped over because the drivers
were making use of the ->last_rx value themselves.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/orinoco.c')
-rw-r--r-- | drivers/net/wireless/orinoco.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/orinoco.c b/drivers/net/wireless/orinoco.c index 5a39166e2a0f..b657a916b1d7 100644 --- a/drivers/net/wireless/orinoco.c +++ b/drivers/net/wireless/orinoco.c | |||
@@ -1289,7 +1289,6 @@ static void orinoco_rx_monitor(struct net_device *dev, u16 rxfid, | |||
1289 | skb->pkt_type = PACKET_OTHERHOST; | 1289 | skb->pkt_type = PACKET_OTHERHOST; |
1290 | skb->protocol = __constant_htons(ETH_P_802_2); | 1290 | skb->protocol = __constant_htons(ETH_P_802_2); |
1291 | 1291 | ||
1292 | dev->last_rx = jiffies; | ||
1293 | stats->rx_packets++; | 1292 | stats->rx_packets++; |
1294 | stats->rx_bytes += skb->len; | 1293 | stats->rx_bytes += skb->len; |
1295 | 1294 | ||
@@ -1538,7 +1537,6 @@ static void orinoco_rx(struct net_device *dev, | |||
1538 | else | 1537 | else |
1539 | memcpy(hdr->h_source, desc->addr2, ETH_ALEN); | 1538 | memcpy(hdr->h_source, desc->addr2, ETH_ALEN); |
1540 | 1539 | ||
1541 | dev->last_rx = jiffies; | ||
1542 | skb->protocol = eth_type_trans(skb, dev); | 1540 | skb->protocol = eth_type_trans(skb, dev); |
1543 | skb->ip_summed = CHECKSUM_NONE; | 1541 | skb->ip_summed = CHECKSUM_NONE; |
1544 | if (fc & IEEE80211_FCTL_TODS) | 1542 | if (fc & IEEE80211_FCTL_TODS) |