summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi Heng <liheng40@huawei.com>2020-09-24 17:18:26 +0300
committerSam Ravnborg <sam@ravnborg.org>2020-10-16 23:52:10 +0300
commit0ad086e07dd553b4b56eb68f0d228d46e7543eca (patch)
tree159a4b134a7d17a219a59ea89f042a7c7d1612c1
parent37e6011b3ccf1a099be563e4067a2e339ee29f87 (diff)
downloadlinux-0ad086e07dd553b4b56eb68f0d228d46e7543eca.tar.xz
video: Remove set but not used variable
Fixes gcc '-Wunused-but-set-variable' warning: drivers/video/fbdev/sis/300vtbl.h:1064:28: warning: ‘SiS300_CHTVVCLKSONTSC’ defined but not used [-Wunused-const-variable=] Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Li Heng <liheng40@huawei.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Link: https://patchwork.freedesktop.org/patch/msgid/1600957106-13741-1-git-send-email-liheng40@huawei.com
-rw-r--r--drivers/video/fbdev/sis/300vtbl.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/fbdev/sis/300vtbl.h b/drivers/video/fbdev/sis/300vtbl.h
index e4b4a2626da4..26b19f721ae4 100644
--- a/drivers/video/fbdev/sis/300vtbl.h
+++ b/drivers/video/fbdev/sis/300vtbl.h
@@ -1061,8 +1061,6 @@ static const unsigned char SiS300_CHTVVCLKUNTSC[] = { 0x29,0x29,0x29,0x29,0x2a,
static const unsigned char SiS300_CHTVVCLKONTSC[] = { 0x2c,0x2c,0x2c,0x2c,0x2d,0x2b };
-static const unsigned char SiS300_CHTVVCLKSONTSC[] = { 0x2c,0x2c,0x2c,0x2c,0x2d,0x2b };
-
static const unsigned char SiS300_CHTVVCLKUPAL[] = { 0x2f,0x2f,0x2f,0x2f,0x2f,0x31 };
static const unsigned char SiS300_CHTVVCLKOPAL[] = { 0x2f,0x2f,0x2f,0x2f,0x30,0x32 };