Skip to content

Commit

Permalink
video: fbdev: sis: Fix defined but not used warning of SiS_TVDelay
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Thomas Zimmermann <[email protected]>
Cc: Thomas Winischhofer <[email protected]>
Cc: Lee Jones <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
  • Loading branch information
sravnborg committed Nov 30, 2020
1 parent 50b82a2 commit e8a2543
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/video/fbdev/sis/oem310.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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 */
{
Expand Down

0 comments on commit e8a2543

Please sign in to comment.