summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-07-20 12:04:20 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-07-20 12:04:20 +0000
commit255dcaa3a6df69a9a09a6959c3909b1f056f36c2 (patch)
treebfccac745d5310598ad4ecf8b9928ef1259f8f8b
parent49b905a2cf884c01aac3a863c981af4abf6ac6c8 (diff)
downloadmtk-20170518-255dcaa3a6df69a9a09a6959c3909b1f056f36c2.zip
mtk-20170518-255dcaa3a6df69a9a09a6959c3909b1f056f36c2.tar.gz
mtk-20170518-255dcaa3a6df69a9a09a6959c3909b1f056f36c2.tar.bz2
ar71xx: fix an unused variable warning
SVN-Revision: 27700
-rw-r--r--target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c1
1 files changed, 0 insertions, 1 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 128bd94..de7f9b5 100644
--- a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c
+++ b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c
@@ -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);