Re: [PATCH] drm/nouveau: remove unused variable ret

2024-07-29 Thread Danilo Krummrich
Hi Jani, On Mon, Jul 29, 2024 at 03:36:24PM +0300, Jani Nikula wrote: > Fix build with CONFIG_NOUVEAU_PLATFORM_DRIVER enabled: > > ../drivers/gpu/drm/nouveau/nouveau_platform.c: In function > ‘nouveau_platform_probe’: > ../drivers/gpu/drm/nouveau/nouveau_platform.c:29:13: error: unused variable

[PATCH] drm/nouveau: remove unused variable ret

2024-07-29 Thread Jani Nikula
Fix build with CONFIG_NOUVEAU_PLATFORM_DRIVER enabled: ../drivers/gpu/drm/nouveau/nouveau_platform.c: In function ‘nouveau_platform_probe’: ../drivers/gpu/drm/nouveau/nouveau_platform.c:29:13: error: unused variable ‘ret’ [-Werror=unused-variable] 29 | int ret; | ^~~

Re: [PATCH] drm/nouveau: Remove unused variable

2022-10-21 Thread Lyude Paul
Reviewed-by: Lyude Paul Will push to drm-misc-next as well On Thu, 2022-10-20 at 21:07 -0400, Zack Rusin wrote: > From: Zack Rusin > > 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

[PATCH] drm/nouveau: Remove unused variable

2022-10-20 Thread Zack Rusin
From: Zack Rusin 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 Cc: Laurent Pinchart Cc: Thomas Zimmermann Cc: Christian König Cc: Ben Skeggs Cc

[PATCH] drm/nouveau: Remove unused variable ret

2021-03-19 Thread Jiapeng Chong
Fix the following coccicheck warnings: ./drivers/gpu/drm/nouveau/nouveau_bios.c:2048:5-8: Unneeded variable: "ret". Return "0" on line 2061. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/gpu/drm/nouveau/nouveau_bios.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)