From: Felix Fietkau Date: Mon, 12 Aug 2013 11:44:31 +0000 (+0000) Subject: ar71xx: ethernet: do not update the unused dev->last_rx field X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=81cfb9e5edc246a6fa9f3c85d31135675e2b7119;p=openwrt%2Fstaging%2Fblocktrron.git ar71xx: ethernet: do not update the unused dev->last_rx field Signed-off-by: Felix Fietkau SVN-Revision: 37757 --- diff --git a/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c b/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c index aa1fb9ef5b..bdef8ba4ec 100644 --- a/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c +++ b/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c @@ -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;