Commit f29b4238 authored by Marc Kleine-Budde's avatar Marc Kleine-Budde

can: c_can: free_c_can_dev(): add missing netif_napi_del()

This patch adds the missing netif_napi_del() to the free_c_can_dev() function.
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent 5fb7639d
......@@ -1269,6 +1269,9 @@ EXPORT_SYMBOL_GPL(c_can_power_up);
void free_c_can_dev(struct net_device *dev)
{
struct c_can_priv *priv = netdev_priv(dev);
netif_napi_del(&priv->napi);
free_candev(dev);
}
EXPORT_SYMBOL_GPL(free_c_can_dev);
......
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