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
1 changed files with 0 additions and 1 deletions
|
@ -887,7 +887,6 @@ static int ag71xx_rx_packets(struct ag71xx *ag, int limit)
|
||||||
dma_unmap_single(&dev->dev, ring->buf[i].dma_addr,
|
dma_unmap_single(&dev->dev, ring->buf[i].dma_addr,
|
||||||
AG71XX_RX_BUF_SIZE, DMA_FROM_DEVICE);
|
AG71XX_RX_BUF_SIZE, DMA_FROM_DEVICE);
|
||||||
|
|
||||||
dev->last_rx = jiffies;
|
|
||||||
dev->stats.rx_packets++;
|
dev->stats.rx_packets++;
|
||||||
dev->stats.rx_bytes += pktlen;
|
dev->stats.rx_bytes += pktlen;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue