aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-12-08 08:22:56 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-12-08 08:22:56 +0000
commit9d5a38adad0a2decff69f3f59ca95bd3b2cac862 (patch)
tree65951449ecb7085a0cbcfb2a604eb298bc9d8515 /target
parentf3be50a0316b7511f8cbd4ae6ad0440b63a92349 (diff)
downloadupstream-9d5a38adad0a2decff69f3f59ca95bd3b2cac862.tar.gz
upstream-9d5a38adad0a2decff69f3f59ca95bd3b2cac862.tar.bz2
upstream-9d5a38adad0a2decff69f3f59ca95bd3b2cac862.zip
ag71xx driver: remove unused code
SVN-Revision: 13542
Diffstat (limited to 'target')
-rw-r--r--target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c7
1 files changed, 0 insertions, 7 deletions
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 aa4730ce20..76b7d2765e 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);