drivers: net: last_rx elimination
Network drivers do not have to update last_rx, unless they need it for their private use. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
acbbc07145
commit
127aa0e14b
@ -317,7 +317,6 @@ good:
|
||||
skb->protocol = eth_type_trans(skb, netdev);
|
||||
netdev->stats.rx_packets++;
|
||||
netdev->stats.rx_bytes += skb->len;
|
||||
netdev->last_rx = jiffies;
|
||||
netif_receive_skb(skb);
|
||||
rc = 0;
|
||||
} else if (re.s.code == RING_ENTRY_CODE_MORE) {
|
||||
|
Reference in New Issue
Block a user