diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-06-24 17:02:11 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-06-24 17:02:11 +0200 |
commit | 40bcfdac9651e23b92a888c983bf0f0a28d7bfbb (patch) | |
tree | 2f1e47a5d8518c982fc4312a1e89f79c4d6898ee /drivers/media/pci | |
parent | r820t: comment out two ancillary tables (diff) | |
download | linux-40bcfdac9651e23b92a888c983bf0f0a28d7bfbb.tar.xz linux-40bcfdac9651e23b92a888c983bf0f0a28d7bfbb.zip |
zr36016: remove some unused tables
Gcc 6.1 warns about some unused tables:
drivers/media/pci/zoran/zr36016.c:251:18: warning: 'zr016_yoff' defined but not used [-Wunused-const-variable=]
static const int zr016_yoff[] = { 8, 9, 7 };
^~~~~~~~~~
drivers/media/pci/zoran/zr36016.c:250:18: warning: 'zr016_xoff' defined but not used [-Wunused-const-variable=]
static const int zr016_xoff[] = { 20, 20, 20 };
^~~~~~~~~~
Those tables aren't used anywere. So, remove them.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/pci')
-rw-r--r-- | drivers/media/pci/zoran/zr36016.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/media/pci/zoran/zr36016.c b/drivers/media/pci/zoran/zr36016.c index b87ddba8608f..c12ca9f96bac 100644 --- a/drivers/media/pci/zoran/zr36016.c +++ b/drivers/media/pci/zoran/zr36016.c @@ -246,10 +246,6 @@ static int zr36016_pushit (struct zr36016 *ptr, //TODO// ========================================================================= */ -// needed offset values PAL NTSC SECAM -static const int zr016_xoff[] = { 20, 20, 20 }; -static const int zr016_yoff[] = { 8, 9, 7 }; - static void zr36016_init (struct zr36016 *ptr) { |