mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-19 19:27:27 +00:00
ar71xx: ethernet: do not update the unused dev->last_rx field
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37757
This commit is contained in:
parent
104ff48e25
commit
81cfb9e5ed
@ -887,7 +887,6 @@ static int ag71xx_rx_packets(struct ag71xx *ag, int limit)
|
||||
dma_unmap_single(&dev->dev, ring->buf[i].dma_addr,
|
||||
AG71XX_RX_BUF_SIZE, DMA_FROM_DEVICE);
|
||||
|
||||
dev->last_rx = jiffies;
|
||||
dev->stats.rx_packets++;
|
||||
dev->stats.rx_bytes += pktlen;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user