diff options
Diffstat (limited to 'drivers/net/atlx')
-rw-r--r-- | drivers/net/atlx/atl1.c | 2 | ||||
-rw-r--r-- | drivers/net/atlx/atl2.c | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/atlx/atl1.c b/drivers/net/atlx/atl1.c index 3836e625ba58..09ed2fdd585b 100644 --- a/drivers/net/atlx/atl1.c +++ b/drivers/net/atlx/atl1.c | |||
@@ -2028,8 +2028,6 @@ rrd_ok: | |||
2028 | buffer_info->skb = NULL; | 2028 | buffer_info->skb = NULL; |
2029 | buffer_info->alloced = 0; | 2029 | buffer_info->alloced = 0; |
2030 | rrd->xsz.valid = 0; | 2030 | rrd->xsz.valid = 0; |
2031 | |||
2032 | adapter->netdev->last_rx = jiffies; | ||
2033 | } | 2031 | } |
2034 | 2032 | ||
2035 | atomic_set(&rrd_ring->next_to_clean, rrd_next_to_clean); | 2033 | atomic_set(&rrd_ring->next_to_clean, rrd_next_to_clean); |
diff --git a/drivers/net/atlx/atl2.c b/drivers/net/atlx/atl2.c index 21ca6dd78b18..60c9e5375eed 100644 --- a/drivers/net/atlx/atl2.c +++ b/drivers/net/atlx/atl2.c | |||
@@ -437,7 +437,6 @@ static void atl2_intr_rx(struct atl2_adapter *adapter) | |||
437 | netif_rx(skb); | 437 | netif_rx(skb); |
438 | netdev->stats.rx_bytes += rx_size; | 438 | netdev->stats.rx_bytes += rx_size; |
439 | netdev->stats.rx_packets++; | 439 | netdev->stats.rx_packets++; |
440 | netdev->last_rx = jiffies; | ||
441 | } else { | 440 | } else { |
442 | netdev->stats.rx_errors++; | 441 | netdev->stats.rx_errors++; |
443 | 442 | ||