ar71xx: fix an unused variable warning
authorFelix Fietkau <nbd@openwrt.org>
Wed, 20 Jul 2011 12:04:20 +0000 (12:04 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 20 Jul 2011 12:04:20 +0000 (12:04 +0000)
SVN-Revision: 27700

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

index 128bd94ba2bb3acc28a2e47223e526e3a6f69a9a..de7f9b5173c82c94d7fa723c0525369db4cf45de 100644 (file)
@@ -739,7 +739,6 @@ static void ag71xx_tx_timeout(struct net_device *dev)
 static void ag71xx_restart_work_func(struct work_struct *work)
 {
        struct ag71xx *ag = container_of(work, struct ag71xx, restart_work);
-       struct ag71xx_platform_data *pdata = ag71xx_get_pdata(ag);
 
        ag71xx_stop(ag->dev);
        ag71xx_open(ag->dev);