diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2020-11-28 23:40:54 +0100 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2020-11-30 20:02:50 +0100 |
commit | e8a254362de604f2988f5b843e96b0745246e78a (patch) | |
tree | d62e0d503df4907a2bab93225695face113dd4ad /drivers/video | |
parent | 50b82a2d695753013cc83d70cbd328c6a507c1bf (diff) | |
download | linux-e8a254362de604f2988f5b843e96b0745246e78a.tar.gz linux-e8a254362de604f2988f5b843e96b0745246e78a.tar.bz2 linux-e8a254362de604f2988f5b843e96b0745246e78a.zip |
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
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/fbdev/sis/oem310.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/fbdev/sis/oem310.h b/drivers/video/fbdev/sis/oem310.h index 8fce56e4482c..ed28755715ce 100644 --- a/drivers/video/fbdev/sis/oem310.h +++ b/drivers/video/fbdev/sis/oem310.h @@ -200,6 +200,7 @@ static const unsigned char SiS310_TVDelayCompensation_651302LV[] = /* M650, 651, 0x33,0x33 }; +#if 0 /* Not used */ static const unsigned char SiS_TVDelay661_301[] = /* 661, 301 */ { 0x44,0x44, @@ -219,6 +220,7 @@ static const unsigned char SiS_TVDelay661_301B[] = /* 661, 301B et al */ 0x44,0x44, 0x44,0x44 }; +#endif static const unsigned char SiS310_TVDelayCompensation_LVDS[] = /* LVDS */ { |