diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2009-08-31 02:34:50 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-03 02:07:36 -0400 |
commit | 451f14439847db302e5104c44458b2dbb4b1829d (patch) | |
tree | 697046c4438806c37c5b0835dc71b7fdd35b8a92 /drivers/s390/net | |
parent | 6ce9e7b5fe3195d1ae6e3a0753d4ddcac5cd699e (diff) |
drivers: 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: Eric Dumazet <eric.dumazet@gmail.com>
Acked-by: Neil Horman <nhorman@txudriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net')
-rw-r--r-- | drivers/s390/net/ctcm_main.c | 1 | ||||
-rw-r--r-- | drivers/s390/net/netiucv.c | 1 | ||||
-rw-r--r-- | drivers/s390/net/qeth_l2_main.c | 1 | ||||
-rw-r--r-- | drivers/s390/net/qeth_l3_main.c | 1 |
4 files changed, 0 insertions, 4 deletions
diff --git a/drivers/s390/net/ctcm_main.c b/drivers/s390/net/ctcm_main.c index 38b5079f1599..c5b83874500c 100644 --- a/drivers/s390/net/ctcm_main.c +++ b/drivers/s390/net/ctcm_main.c | |||
@@ -164,7 +164,6 @@ void ctcm_unpack_skb(struct channel *ch, struct sk_buff *pskb) | |||
164 | priv->stats.rx_packets++; | 164 | priv->stats.rx_packets++; |
165 | priv->stats.rx_bytes += skblen; | 165 | priv->stats.rx_bytes += skblen; |
166 | netif_rx_ni(skb); | 166 | netif_rx_ni(skb); |
167 | dev->last_rx = jiffies; | ||
168 | if (len > 0) { | 167 | if (len > 0) { |
169 | skb_pull(pskb, header->length); | 168 | skb_pull(pskb, header->length); |
170 | if (skb_tailroom(pskb) < LL_HEADER_LENGTH) { | 169 | if (skb_tailroom(pskb) < LL_HEADER_LENGTH) { |
diff --git a/drivers/s390/net/netiucv.c b/drivers/s390/net/netiucv.c index bb1183a2ed66..271c4a82e84b 100644 --- a/drivers/s390/net/netiucv.c +++ b/drivers/s390/net/netiucv.c | |||
@@ -676,7 +676,6 @@ static void netiucv_unpack_skb(struct iucv_connection *conn, | |||
676 | * we must use netif_rx_ni() instead of netif_rx() | 676 | * we must use netif_rx_ni() instead of netif_rx() |
677 | */ | 677 | */ |
678 | netif_rx_ni(skb); | 678 | netif_rx_ni(skb); |
679 | dev->last_rx = jiffies; | ||
680 | skb_pull(pskb, header->next); | 679 | skb_pull(pskb, header->next); |
681 | skb_put(pskb, NETIUCV_HDRLEN); | 680 | skb_put(pskb, NETIUCV_HDRLEN); |
682 | } | 681 | } |
diff --git a/drivers/s390/net/qeth_l2_main.c b/drivers/s390/net/qeth_l2_main.c index 94b161121c26..f4f3ca1393b2 100644 --- a/drivers/s390/net/qeth_l2_main.c +++ b/drivers/s390/net/qeth_l2_main.c | |||
@@ -449,7 +449,6 @@ static void qeth_l2_process_inbound_buffer(struct qeth_card *card, | |||
449 | QETH_DBF_HEX(CTRL, 3, hdr, QETH_DBF_CTRL_LEN); | 449 | QETH_DBF_HEX(CTRL, 3, hdr, QETH_DBF_CTRL_LEN); |
450 | continue; | 450 | continue; |
451 | } | 451 | } |
452 | card->dev->last_rx = jiffies; | ||
453 | card->stats.rx_packets++; | 452 | card->stats.rx_packets++; |
454 | card->stats.rx_bytes += len; | 453 | card->stats.rx_bytes += len; |
455 | } | 454 | } |
diff --git a/drivers/s390/net/qeth_l3_main.c b/drivers/s390/net/qeth_l3_main.c index 115b4a0dae6e..073b6d354915 100644 --- a/drivers/s390/net/qeth_l3_main.c +++ b/drivers/s390/net/qeth_l3_main.c | |||
@@ -1987,7 +1987,6 @@ static void qeth_l3_process_inbound_buffer(struct qeth_card *card, | |||
1987 | continue; | 1987 | continue; |
1988 | } | 1988 | } |
1989 | 1989 | ||
1990 | card->dev->last_rx = jiffies; | ||
1991 | card->stats.rx_packets++; | 1990 | card->stats.rx_packets++; |
1992 | card->stats.rx_bytes += len; | 1991 | card->stats.rx_bytes += len; |
1993 | } | 1992 | } |