diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-09-02 18:19:32 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-02 18:19:32 +0200 |
commit | 95f4b45bc688b03107f5452ccda29496fc1b4ecf (patch) | |
tree | bb190b30e210dc74136afeba8946fa0a9368c3c3 | |
parent | starfire: Temporary kludge to fix powerpc build. (diff) | |
download | linux-95f4b45bc688b03107f5452ccda29496fc1b4ecf.tar.xz linux-95f4b45bc688b03107f5452ccda29496fc1b4ecf.zip |
net: another last_rx round
Kill last_rx use in l2tp and two net drivers
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/cxgb4vf/sge.c | 1 | ||||
-rw-r--r-- | drivers/net/pxa168_eth.c | 1 | ||||
-rw-r--r-- | net/l2tp/l2tp_eth.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/cxgb4vf/sge.c b/drivers/net/cxgb4vf/sge.c index eb5a1c9cb2d3..e00fd9c36e8b 100644 --- a/drivers/net/cxgb4vf/sge.c +++ b/drivers/net/cxgb4vf/sge.c @@ -1520,7 +1520,6 @@ int t4vf_ethrx_handler(struct sge_rspq *rspq, const __be64 *rsp, __skb_pull(skb, PKTSHIFT); skb->protocol = eth_type_trans(skb, rspq->netdev); skb_record_rx_queue(skb, rspq->idx); - skb->dev->last_rx = jiffies; /* XXX removed 2.6.29 */ pi = netdev_priv(skb->dev); rxq->stats.pkts++; diff --git a/drivers/net/pxa168_eth.c b/drivers/net/pxa168_eth.c index 659915cf6872..764aa9099468 100644 --- a/drivers/net/pxa168_eth.c +++ b/drivers/net/pxa168_eth.c @@ -848,7 +848,6 @@ static int rxq_process(struct net_device *dev, int budget) skb->protocol = eth_type_trans(skb, dev); netif_receive_skb(skb); } - dev->last_rx = jiffies; } /* Fill RX ring with skb's */ rxq_refill(dev); diff --git a/net/l2tp/l2tp_eth.c b/net/l2tp/l2tp_eth.c index 58c6c4cda73b..f3468ba3f5cb 100644 --- a/net/l2tp/l2tp_eth.c +++ b/net/l2tp/l2tp_eth.c @@ -144,7 +144,6 @@ static void l2tp_eth_dev_recv(struct l2tp_session *session, struct sk_buff *skb, nf_reset(skb); if (dev_forward_skb(dev, skb) == NET_RX_SUCCESS) { - dev->last_rx = jiffies; dev->stats.rx_packets++; dev->stats.rx_bytes += data_len; } else |