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:
Felix Fietkau 2013-08-12 11:44:31 +00:00
parent 104ff48e25
commit 81cfb9e5ed

View file

@ -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;