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/airo.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/airo.c')
-rw-r--r-- | drivers/net/wireless/airo.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/airo.c b/drivers/net/wireless/airo.c index d7388d2aee97..c8dc6568cec9 100644 --- a/drivers/net/wireless/airo.c +++ b/drivers/net/wireless/airo.c | |||
@@ -3366,7 +3366,6 @@ badrx: | |||
3366 | skb->protocol = htons(ETH_P_802_2); | 3366 | skb->protocol = htons(ETH_P_802_2); |
3367 | } else | 3367 | } else |
3368 | skb->protocol = eth_type_trans(skb,dev); | 3368 | skb->protocol = eth_type_trans(skb,dev); |
3369 | skb->dev->last_rx = jiffies; | ||
3370 | skb->ip_summed = CHECKSUM_NONE; | 3369 | skb->ip_summed = CHECKSUM_NONE; |
3371 | 3370 | ||
3372 | netif_rx( skb ); | 3371 | netif_rx( skb ); |
@@ -3596,7 +3595,6 @@ badmic: | |||
3596 | 3595 | ||
3597 | skb->ip_summed = CHECKSUM_NONE; | 3596 | skb->ip_summed = CHECKSUM_NONE; |
3598 | skb->protocol = eth_type_trans(skb, ai->dev); | 3597 | skb->protocol = eth_type_trans(skb, ai->dev); |
3599 | skb->dev->last_rx = jiffies; | ||
3600 | netif_rx(skb); | 3598 | netif_rx(skb); |
3601 | } | 3599 | } |
3602 | badrx: | 3600 | badrx: |
@@ -3690,7 +3688,6 @@ void mpi_receive_802_11 (struct airo_info *ai) | |||
3690 | skb->pkt_type = PACKET_OTHERHOST; | 3688 | skb->pkt_type = PACKET_OTHERHOST; |
3691 | skb->dev = ai->wifidev; | 3689 | skb->dev = ai->wifidev; |
3692 | skb->protocol = htons(ETH_P_802_2); | 3690 | skb->protocol = htons(ETH_P_802_2); |
3693 | skb->dev->last_rx = jiffies; | ||
3694 | skb->ip_summed = CHECKSUM_NONE; | 3691 | skb->ip_summed = CHECKSUM_NONE; |
3695 | netif_rx( skb ); | 3692 | netif_rx( skb ); |
3696 | badrx: | 3693 | badrx: |