Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

video: fbdev: sis: Fix defined but not used warning of SiS_TVDelay

Fix W=1 warning by commenting unused SiS_TVDelay* variables.

The SiS_TVDelay* variables seem to contain some magic numbers
so looks like data worth keeping around but not as code we build.

v2:
- Update subject (Lee)

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Thomas Winischhofer <thomas@winischhofer.net>
Cc: Lee Jones <lee.jones@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20201128224114.1033617-9-sam@ravnborg.org

+2
+2
drivers/video/fbdev/sis/oem310.h
··· 200 200 0x33,0x33 201 201 }; 202 202 203 + #if 0 /* Not used */ 203 204 static const unsigned char SiS_TVDelay661_301[] = /* 661, 301 */ 204 205 { 205 206 0x44,0x44, ··· 220 219 0x44,0x44, 221 220 0x44,0x44 222 221 }; 222 + #endif 223 223 224 224 static const unsigned char SiS310_TVDelayCompensation_LVDS[] = /* LVDS */ 225 225 {