On Mon, 22 Dec 2025 18:25:35 +0800
Tianhao Zhang <[email protected]> wrote:

> Delete np soft resource uninstallation from NP online uninit process.
> 
> Signed-off-by: Tianhao Zhang <[email protected]>
> ---
>  drivers/net/zxdh/zxdh_np.c | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/drivers/net/zxdh/zxdh_np.c b/drivers/net/zxdh/zxdh_np.c
> index 4e2637e1b6..3bb765e05d 100644
> --- a/drivers/net/zxdh/zxdh_np.c
> +++ b/drivers/net/zxdh/zxdh_np.c
> @@ -4243,10 +4243,6 @@ zxdh_np_online_uninit(uint32_t dev_id,
>       if (rc != 0)
>               PMD_DRV_LOG(ERR, "dtb release port name %s queue id %u", 
> port_name, queue_id);
>  
> -     rc = zxdh_np_soft_res_uninstall(dev_id);
> -     if (rc != 0)
> -             PMD_DRV_LOG(ERR, "zxdh_np_soft_res_uninstall failed");
> -
>       return 0;
>  }
>  

OK, but would like a better explanation. I assume it something like "soft reset 
is not necessary on device cleanup"

Reply via email to