ar71xx: ethernet: do not update the unused dev->last_rx field

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37757
owl
Felix Fietkau 2013-08-12 11:44:31 +00:00
parent 104ff48e25
commit 81cfb9e5ed
1 changed files with 0 additions and 1 deletions

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;