aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/can/sja1000/sja1000.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/can/sja1000/sja1000.c')
-rw-r--r--drivers/net/can/sja1000/sja1000.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/can/sja1000/sja1000.c b/drivers/net/can/sja1000/sja1000.c
index 9ce3ddac4e9b..fd7fa716a6ca 100644
--- a/drivers/net/can/sja1000/sja1000.c
+++ b/drivers/net/can/sja1000/sja1000.c
@@ -340,7 +340,6 @@ static void sja1000_rx(struct net_device *dev)
340 340
341 netif_rx(skb); 341 netif_rx(skb);
342 342
343 dev->last_rx = jiffies;
344 stats->rx_packets++; 343 stats->rx_packets++;
345 stats->rx_bytes += dlc; 344 stats->rx_bytes += dlc;
346} 345}
@@ -455,7 +454,6 @@ static int sja1000_err(struct net_device *dev, uint8_t isrc, uint8_t status)
455 454
456 netif_rx(skb); 455 netif_rx(skb);
457 456
458 dev->last_rx = jiffies;
459 stats->rx_packets++; 457 stats->rx_packets++;
460 stats->rx_bytes += cf->can_dlc; 458 stats->rx_bytes += cf->can_dlc;
461 459