Commit e333ac1f authored by Ivan Khoronzhuk's avatar Ivan Khoronzhuk Committed by David S. Miller

net: ethernet: ti: netcp_core: no need in netif_napi_del

Don't remove rx_napi specifically just before free_netdev(),
it's supposed to be done in it and is confusing w/o tx_napi deletion.
Signed-off-by: default avatarIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0fdbedc7
...@@ -2145,7 +2145,6 @@ static void netcp_delete_interface(struct netcp_device *netcp_device, ...@@ -2145,7 +2145,6 @@ static void netcp_delete_interface(struct netcp_device *netcp_device,
of_node_put(netcp->node_interface); of_node_put(netcp->node_interface);
unregister_netdev(ndev); unregister_netdev(ndev);
netif_napi_del(&netcp->rx_napi);
free_netdev(ndev); free_netdev(ndev);
} }
......
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