ar71xx: fix an unused variable warning

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27700 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2011-07-20 12:04:20 +00:00
parent 24aa501714
commit 46e19e0fbb
1 changed files with 0 additions and 1 deletions

View File

@ -739,7 +739,6 @@ static void ag71xx_tx_timeout(struct net_device *dev)
static void ag71xx_restart_work_func(struct work_struct *work) static void ag71xx_restart_work_func(struct work_struct *work)
{ {
struct ag71xx *ag = container_of(work, struct ag71xx, restart_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_stop(ag->dev);
ag71xx_open(ag->dev); ag71xx_open(ag->dev);