[PATCH v3 22/37] drm/nouveau/nvif: remove client fini

Zhi Wang zhiw at nvidia.com
Wed Jul 31 11:49:28 UTC 2024


On Fri, 26 Jul 2024 14:38:13 +1000
Ben Skeggs <bskeggs at nvidia.com> wrote:

Reviewed-by: Zhi Wang <zhiw at nvidia.com>

> Does nothing.  Remove it.
> 
> Signed-off-by: Ben Skeggs <bskeggs at nvidia.com>
> ---
>  drivers/gpu/drm/nouveau/nvkm/core/client.c | 7 -------
>  1 file changed, 7 deletions(-)
> 
> diff --git a/drivers/gpu/drm/nouveau/nvkm/core/client.c
> b/drivers/gpu/drm/nouveau/nvkm/core/client.c index
> 5c87146b8508..72c88db627a5 100644 ---
> a/drivers/gpu/drm/nouveau/nvkm/core/client.c +++
> b/drivers/gpu/drm/nouveau/nvkm/core/client.c @@ -90,12 +90,6 @@
> nvkm_client_child_get(struct nvkm_object *object, int index, return 0;
>  }
>  
> -static int
> -nvkm_client_fini(struct nvkm_object *object, bool suspend)
> -{
> -	return 0;
> -}
> -
>  static void *
>  nvkm_client_dtor(struct nvkm_object *object)
>  {
> @@ -105,7 +99,6 @@ nvkm_client_dtor(struct nvkm_object *object)
>  static const struct nvkm_object_func
>  nvkm_client = {
>  	.dtor = nvkm_client_dtor,
> -	.fini = nvkm_client_fini,
>  	.sclass = nvkm_client_child_get,
>  };
>  



More information about the Nouveau mailing list