Remove the NP software resource uninstallation procedure from the NP<br />online uninit process. The NP software resource uninstallation should be<br />called separately within NP uninit to avoid duplicate resource<br />release.<br /> <br />Signed-off-by: Tianhao Zhang <zhang.tianhao2@zte.com.cn> <br />---<br /> drivers/net/zxdh/zxdh_np.c | 4 ----<br /> 1 file changed, 4 deletions(-)<br /> <br />diff --git a/drivers/net/zxdh/zxdh_np.c b/drivers/net/zxdh/zxdh_np.c<br />index 89c9283498..7ee9810920 100644<br />--- a/drivers/net/zxdh/zxdh_np.c<br />+++ b/drivers/net/zxdh/zxdh_np.c<br />@@ -4242,10 +4242,6 @@ zxdh_np_online_uninit(uint32_t dev_id,<br />     if (rc != 0)<br />         PMD_DRV_LOG(ERR, "dtb release port name %s queue id %u", port_name, queue_id);<br />  <br />-    rc = zxdh_np_soft_res_uninstall(dev_id);<br />-    if (rc != 0)<br />-        PMD_DRV_LOG(ERR, "zxdh_np_soft_res_uninstall failed");<br />-<br />     return 0;<br /> }<br />  <br />--  <br />2.27.0<br />