[PATCH 13/34] sisfb: hide unused variables
Helge Deller
deller at gmx.de
Wed Apr 3 12:39:22 UTC 2024
On 4/3/24 10:06, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd at arndb.de>
>
> 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 at arndb.de>
> ---
> drivers/video/fbdev/sis/init301.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
applied to fbdev git tree.
Thanks!
Helge
More information about the dri-devel
mailing list