diff options
Diffstat (limited to 'drivers/net/mv643xx_eth.c')
-rw-r--r-- | drivers/net/mv643xx_eth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c index ce31e74a559b..02076e16542a 100644 --- a/drivers/net/mv643xx_eth.c +++ b/drivers/net/mv643xx_eth.c | |||
@@ -2978,7 +2978,7 @@ static int mv643xx_eth_remove(struct platform_device *pdev) | |||
2978 | unregister_netdev(mp->dev); | 2978 | unregister_netdev(mp->dev); |
2979 | if (mp->phy != NULL) | 2979 | if (mp->phy != NULL) |
2980 | phy_detach(mp->phy); | 2980 | phy_detach(mp->phy); |
2981 | flush_scheduled_work(); | 2981 | cancel_work_sync(&mp->tx_timeout_task); |
2982 | free_netdev(mp->dev); | 2982 | free_netdev(mp->dev); |
2983 | 2983 | ||
2984 | platform_set_drvdata(pdev, NULL); | 2984 | platform_set_drvdata(pdev, NULL); |