Commit 8ffe3f4b authored by Marc Kleine-Budde's avatar Marc Kleine-Budde Committed by Sasha Levin

can: flexcan: flexcan_remove(): add missing netif_napi_del()

This patch adds the missing netif_napi_del() to the flexcan_remove() function.

Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>

(cherry picked from commit d96e43e8)
Signed-off-by: default avatarSasha Levin <sasha.levin@oracle.com>
parent f42fb6a0
......@@ -1139,6 +1139,7 @@ static int flexcan_remove(struct platform_device *pdev)
struct resource *mem;
unregister_flexcandev(dev);
netif_napi_del(&priv->napi);
platform_set_drvdata(pdev, NULL);
iounmap(priv->base);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment