[PATCH] drm/nouveau: Remove unused variable

Lyude Paul lyude at redhat.com
Fri Oct 21 20:12:07 UTC 2022


Reviewed-by: Lyude Paul <lyude at redhat.com>

Will push to drm-misc-next as well

On Thu, 2022-10-20 at 21:07 -0400, Zack Rusin wrote:
> From: Zack Rusin <zackr at vmware.com>
> 
> Trivial removal of an unused variable. Not sure how it snuck by me and
> build bots in the 7c99616e3fe7.
> 
> Fixes: 7c99616e3fe7 ("drm: Remove drm_mode_config::fb_base")
> Reported-by: Stephen Rothwell <sfr at canb.auug.org.au>
> Cc: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> Cc: Thomas Zimmermann <tzimemrmann at suse.de>
> Cc: Christian König <christian.koenig at amd.com>
> Cc: Ben Skeggs <bskeggs at redhat.com>
> Cc: Karol Herbst <kherbst at redhat.com>
> Cc: Lyude Paul <lyude at redhat.com>
> ---
>  drivers/gpu/drm/nouveau/nouveau_display.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/nouveau/nouveau_display.c b/drivers/gpu/drm/nouveau/nouveau_display.c
> index 928fdfa8e8e5..2e97186090c8 100644
> --- a/drivers/gpu/drm/nouveau/nouveau_display.c
> +++ b/drivers/gpu/drm/nouveau/nouveau_display.c
> @@ -659,7 +659,6 @@ int
>  nouveau_display_create(struct drm_device *dev)
>  {
>  	struct nouveau_drm *drm = nouveau_drm(dev);
> -	struct nvkm_device *device = nvxx_device(&drm->client.device);
>  	struct nouveau_display *disp;
>  	int ret;
>  

-- 
Cheers,
 Lyude Paul (she/her)
 Software Engineer at Red Hat



More information about the dri-devel mailing list