aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cs89x0.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-11-04 00:11:17 -0500
committerDavid S. Miller <davem@davemloft.net>2008-11-04 00:11:17 -0500
commitbabcda74e9d96bb58fd9c6c5112dbdbff169e695 (patch)
treefcbe5e70f1fff01ad49504171e964c387a5ad7f8 /drivers/net/cs89x0.c
parentab2910921064b657610a3b501358a305e13087ea (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/cs89x0.c')
-rw-r--r--drivers/net/cs89x0.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/cs89x0.c b/drivers/net/cs89x0.c
index 65174d3b9026..b063395c4a96 100644
--- a/drivers/net/cs89x0.c
+++ b/drivers/net/cs89x0.c
@@ -1024,7 +1024,6 @@ skip_this_frame:
1024 } 1024 }
1025 skb->protocol=eth_type_trans(skb,dev); 1025 skb->protocol=eth_type_trans(skb,dev);
1026 netif_rx(skb); 1026 netif_rx(skb);
1027 dev->last_rx = jiffies;
1028 lp->stats.rx_packets++; 1027 lp->stats.rx_packets++;
1029 lp->stats.rx_bytes += length; 1028 lp->stats.rx_bytes += length;
1030} 1029}
@@ -1718,7 +1717,6 @@ net_rx(struct net_device *dev)
1718 1717
1719 skb->protocol=eth_type_trans(skb,dev); 1718 skb->protocol=eth_type_trans(skb,dev);
1720 netif_rx(skb); 1719 netif_rx(skb);
1721 dev->last_rx = jiffies;
1722 lp->stats.rx_packets++; 1720 lp->stats.rx_packets++;
1723 lp->stats.rx_bytes += length; 1721 lp->stats.rx_bytes += length;
1724} 1722}