Merge "msm: ipa: removing explicit NAPI object delete"

This commit is contained in:
qctecmdr 2020-07-21 22:06:59 -07:00 • committed by Gerrit - the friendly Code Review server
commit 5d58e67d7c

View file

@ -2669,8 +2669,6 @@ static int ipa3_wwan_remove(struct platform_device *pdev)
IPAWANERR("Failed to teardown APPS->IPA pipe\n");
else
rmnet_ipa3_ctx->apps_to_ipa3_hdl = -1;
if (ipa3_rmnet_res.ipa_napi_enable)
netif_napi_del(&(rmnet_ipa3_ctx->wwan_priv->napi));
mutex_unlock(&rmnet_ipa3_ctx->pipe_handle_guard);
IPAWANINFO("rmnet_ipa unregister_netdev\n");
unregister_netdev(IPA_NETDEV());