[PATCH] drm/hisilicon/hibmc: remove an unused variable

Thomas Zimmermann tzimmermann at suse.de
Fri Jul 23 18:20:48 UTC 2021


Hi

Am 23.07.21 um 11:16 schrieb Arnd Bergmann:
> From: Arnd Bergmann <arnd at arndb.de>
> 
> A recent patch left an unused variable in place that needs to be
> removed:
> 
> drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c: In function 'hibmc_unload':
> drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c:252:35: error: unused variable 'priv' [-Werror=unused-variable]
>    252 |         struct hibmc_drm_private *priv = to_hibmc_drm_private(dev);
> 
> Fixes: 39a364a19e03 ("drm/hisilicon/hibmc: Convert to Linux IRQ interfaces")

Thanks for the patch. The issue has meanwhile been fixed in drm-misc-next.

Best regards
Thomas

-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Felix Imendörffer

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20210723/fabf039c/attachment.sig>


More information about the dri-devel mailing list