diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-08-12 11:44:31 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-08-12 11:44:31 +0000 |
commit | 81cfb9e5edc246a6fa9f3c85d31135675e2b7119 (patch) | |
tree | 39dc58379737ce773b45ae283b2fb38af6dcd7d9 /target/linux/ar71xx/files/drivers | |
parent | 104ff48e25efc7780b8fbd47e6062f17d61bef41 (diff) | |
download | mtk-20170518-81cfb9e5edc246a6fa9f3c85d31135675e2b7119.zip mtk-20170518-81cfb9e5edc246a6fa9f3c85d31135675e2b7119.tar.gz mtk-20170518-81cfb9e5edc246a6fa9f3c85d31135675e2b7119.tar.bz2 |
ar71xx: ethernet: do not update the unused dev->last_rx field
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37757
Diffstat (limited to 'target/linux/ar71xx/files/drivers')
-rw-r--r-- | target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c | 1 |
1 files changed, 0 insertions, 1 deletions
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 aa1fb9e..bdef8ba 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; |