ar71xx: fix an unused variable warning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27700 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
24aa501714
commit
46e19e0fbb
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue