]> git.karo-electronics.de Git - linux-beck.git/commit
adv7842: comment out a table useful for debug
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 24 Jun 2016 15:17:27 +0000 (12:17 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 24 Jun 2016 15:17:27 +0000 (12:17 -0300)
commit60eb9579c1af6e2c077cbc795969f4ee49041c34
tree88bf9f50779c0c94312cdfd2dbb3fb97ff0844b3
parent5776fbec90735e72e1310d0d006c098aca7f1f00
adv7842: comment out a table useful for debug

Gcc 6.1 warns about an unused table:

drivers/media/i2c/adv7842.c:2400:27: warning: 'prim_mode_txt' defined but not used [-Wunused-const-variable=]
 static const char * const prim_mode_txt[] = {
                           ^~~~~~~~~~~~~

That seems to be useful for debug, and likely were used before.
While we could simply remove, let's comment it out, for now.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/adv7842.c