From: Ivan Khoronzhuk Date: Thu, 7 Sep 2017 15:32:30 +0000 (+0300) Subject: net: ethernet: ti: netcp_core: no need in netif_napi_del X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e333ac1f1db09e37425c90bb6cf3dec721a6d71d;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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: Ivan Khoronzhuk Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/ti/netcp_core.c b/drivers/net/ethernet/ti/netcp_core.c index eb96a6913235..437d36289786 100644 --- a/drivers/net/ethernet/ti/netcp_core.c +++ b/drivers/net/ethernet/ti/netcp_core.c @@ -2145,7 +2145,6 @@ static void netcp_delete_interface(struct netcp_device *netcp_device, of_node_put(netcp->node_interface); unregister_netdev(ndev); - netif_napi_del(&netcp->rx_napi); free_netdev(ndev); }