projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fdbedc
)
net: ethernet: ti: netcp_core: no need in netif_napi_del
author
Ivan Khoronzhuk
<ivan.khoronzhuk@linaro.org>
Thu, 7 Sep 2017 15:32:30 +0000
(18:32 +0300)
committer
David S. Miller
<davem@davemloft.net>
Sat, 9 Sep 2017 03:53:10 +0000
(20:53 -0700)
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 <ivan.khoronzhuk@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/netcp_core.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/ti/netcp_core.c
b/drivers/net/ethernet/ti/netcp_core.c
index eb96a69132358b376fd391ed273732fd1de6a175..437d36289786bbbe8f153910ee797b13379b61e3 100644
(file)
--- 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);
}