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/arcnet | |
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/arcnet')
-rw-r--r-- | drivers/net/arcnet/arc-rawmode.c | 1 | ||||
-rw-r--r-- | drivers/net/arcnet/capmode.c | 1 | ||||
-rw-r--r-- | drivers/net/arcnet/rfc1051.c | 1 | ||||
-rw-r--r-- | drivers/net/arcnet/rfc1201.c | 2 |
4 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/arcnet/arc-rawmode.c b/drivers/net/arcnet/arc-rawmode.c index e0a18e7c73cb..60088b3b61c4 100644 --- a/drivers/net/arcnet/arc-rawmode.c +++ b/drivers/net/arcnet/arc-rawmode.c | |||
@@ -125,7 +125,6 @@ static void rx(struct net_device *dev, int bufnum, | |||
125 | skb->protocol = __constant_htons(ETH_P_ARCNET); | 125 | skb->protocol = __constant_htons(ETH_P_ARCNET); |
126 | ; | 126 | ; |
127 | netif_rx(skb); | 127 | netif_rx(skb); |
128 | dev->last_rx = jiffies; | ||
129 | } | 128 | } |
130 | 129 | ||
131 | 130 | ||
diff --git a/drivers/net/arcnet/capmode.c b/drivers/net/arcnet/capmode.c index 02cb8f1c1148..67bc47aa6904 100644 --- a/drivers/net/arcnet/capmode.c +++ b/drivers/net/arcnet/capmode.c | |||
@@ -151,7 +151,6 @@ static void rx(struct net_device *dev, int bufnum, | |||
151 | skb->protocol = __constant_htons(ETH_P_ARCNET); | 151 | skb->protocol = __constant_htons(ETH_P_ARCNET); |
152 | ; | 152 | ; |
153 | netif_rx(skb); | 153 | netif_rx(skb); |
154 | dev->last_rx = jiffies; | ||
155 | } | 154 | } |
156 | 155 | ||
157 | 156 | ||
diff --git a/drivers/net/arcnet/rfc1051.c b/drivers/net/arcnet/rfc1051.c index dab185bc51f1..994be4970a57 100644 --- a/drivers/net/arcnet/rfc1051.c +++ b/drivers/net/arcnet/rfc1051.c | |||
@@ -159,7 +159,6 @@ static void rx(struct net_device *dev, int bufnum, | |||
159 | 159 | ||
160 | skb->protocol = type_trans(skb, dev); | 160 | skb->protocol = type_trans(skb, dev); |
161 | netif_rx(skb); | 161 | netif_rx(skb); |
162 | dev->last_rx = jiffies; | ||
163 | } | 162 | } |
164 | 163 | ||
165 | 164 | ||
diff --git a/drivers/net/arcnet/rfc1201.c b/drivers/net/arcnet/rfc1201.c index 6d6d95cc4404..962641e96450 100644 --- a/drivers/net/arcnet/rfc1201.c +++ b/drivers/net/arcnet/rfc1201.c | |||
@@ -230,7 +230,6 @@ static void rx(struct net_device *dev, int bufnum, | |||
230 | 230 | ||
231 | skb->protocol = type_trans(skb, dev); | 231 | skb->protocol = type_trans(skb, dev); |
232 | netif_rx(skb); | 232 | netif_rx(skb); |
233 | dev->last_rx = jiffies; | ||
234 | } else { /* split packet */ | 233 | } else { /* split packet */ |
235 | /* | 234 | /* |
236 | * NOTE: MSDOS ARP packet correction should only need to apply to | 235 | * NOTE: MSDOS ARP packet correction should only need to apply to |
@@ -366,7 +365,6 @@ static void rx(struct net_device *dev, int bufnum, | |||
366 | 365 | ||
367 | skb->protocol = type_trans(skb, dev); | 366 | skb->protocol = type_trans(skb, dev); |
368 | netif_rx(skb); | 367 | netif_rx(skb); |
369 | dev->last_rx = jiffies; | ||
370 | } | 368 | } |
371 | } | 369 | } |
372 | } | 370 | } |