From 9d5a38adad0a2decff69f3f59ca95bd3b2cac862 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Mon, 8 Dec 2008 08:22:56 +0000 Subject: ag71xx driver: remove unused code SVN-Revision: 13542 --- target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'target/linux/ar71xx/files') diff --git a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c index aa4730c..76b7d27 100644 --- a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c +++ b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c @@ -738,13 +738,6 @@ static irqreturn_t ag71xx_interrupt(int irq, void *dev_id) } } -#if 0 - if (unlikely(status & AG71XX_INT_TX_UR)) { - ag71xx_wr(ag, AG71XX_REG_TX_STATUS, TX_STATUS_UR); - DBG("%s: TX underrun\n", dev->name); - } -#endif - if (likely(status & AG71XX_INT_POLL)) { ag71xx_int_disable(ag, AG71XX_INT_POLL); DBG("%s: enable polling mode\n", dev->name); -- cgit v1.1