mirror of https://github.com/hak5/openwrt-owl.git
ar71xx: ethernet: do not update the unused dev->last_rx field
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37757owl
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