ar71xx: ethernet: do not update the unused dev->last_rx field
authorFelix Fietkau <nbd@openwrt.org>
Mon, 12 Aug 2013 11:44:31 +0000 (11:44 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 12 Aug 2013 11:44:31 +0000 (11:44 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37757

target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c

index aa1fb9ef5bbe3268741871dbb30e6ad03a09abac..bdef8ba4ec91014411fdfe78db7f31c670ade660 100644 (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;