aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/octeon
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-04-10 18:48:14 -0400
committerDavid S. Miller <davem@davemloft.net>2010-04-13 06:32:43 -0400
commit127aa0e14b3e1f8476c4781facdfac11d5546872 (patch)
tree939bdf390d438942fb1efbc158f92705900817f9 /drivers/net/octeon
parentacbbc07145b919248c410e1852b953d385be5c97 (diff)
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>
Diffstat (limited to 'drivers/net/octeon')
-rw-r--r--drivers/net/octeon/octeon_mgmt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/octeon/octeon_mgmt.c b/drivers/net/octeon/octeon_mgmt.c
index 0e2ff1ec58e4..6b1d443f2ce5 100644
--- a/drivers/net/octeon/octeon_mgmt.c
+++ b/drivers/net/octeon/octeon_mgmt.c
@@ -317,7 +317,6 @@ good:
317 skb->protocol = eth_type_trans(skb, netdev); 317 skb->protocol = eth_type_trans(skb, netdev);
318 netdev->stats.rx_packets++; 318 netdev->stats.rx_packets++;
319 netdev->stats.rx_bytes += skb->len; 319 netdev->stats.rx_bytes += skb->len;
320 netdev->last_rx = jiffies;
321 netif_receive_skb(skb); 320 netif_receive_skb(skb);
322 rc = 0; 321 rc = 0;
323 } else if (re.s.code == RING_ENTRY_CODE_MORE) { 322 } else if (re.s.code == RING_ENTRY_CODE_MORE) {