ag71xx driver: remove unused code
authorGabor Juhos <juhosg@openwrt.org>
Mon, 8 Dec 2008 08:22:56 +0000 (08:22 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Mon, 8 Dec 2008 08:22:56 +0000 (08:22 +0000)
SVN-Revision: 13542

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

index aa4730ce20c6279e2196e29b05ee3be22ab740ae..76b7d2765e57b58819f029eb64a462c741e418be 100644 (file)
@@ -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);