Re: [PATCH 13/34] sisfb: hide unused variables

From: Helge Deller
Date: Wed Apr 03 2024 - 08:40:02 EST


On 4/3/24 10:06, Arnd Bergmann wrote:
From: Arnd Bergmann <arnd@xxxxxxxx>

Building with W=1 shows that a couple of variables in this driver are only
used in certain configurations:

drivers/video/fbdev/sis/init301.c:239:28: error: 'SiS_Part2CLVX_6' defined but not used [-Werror=unused-const-variable=]
...
Fixes: 5908986ef348 ("video: fbdev: sis: avoid mismatched prototypes")
Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
---
drivers/video/fbdev/sis/init301.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

applied to fbdev git tree.

Thanks!
Helge