Commit 61183b05 authored by Chuhong Yuan's avatar Chuhong Yuan Committed by David S. Miller
Browse files

net: macb: add missed tasklet_kill



This driver forgets to kill tasklet in remove.
Add the call to fix it.

Fixes: 032dc41b ("net: macb: Handle HRESP error")
Signed-off-by: default avatarChuhong Yuan <hslester96@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2eaa8575
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4422,6 +4422,7 @@ static int macb_remove(struct platform_device *pdev)
		mdiobus_free(bp->mii_bus);

		unregister_netdev(dev);
		tasklet_kill(&bp->hresp_err_tasklet);
		pm_runtime_disable(&pdev->dev);
		pm_runtime_dont_use_autosuspend(&pdev->dev);
		if (!pm_runtime_suspended(&pdev->dev)) {