[media] r820t: Remove a warning for an unused value
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 25 Apr 2013 18:40:21 +0000 (15:40 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 25 Apr 2013 19:07:04 +0000 (16:07 -0300)
commit7063c1456fc0a6366f467f10e7a35178ecc881ad
tree2f23756954a93b3085c07dea7da52732cf2cdf08
parent751dc8c7fa706c6bafa0eeee88f22f59987157e0
[media] r820t: Remove a warning for an unused value

Currently, the driver complains about the pre_detect var:

drivers/media/tuners/r820t.c: In function 'r820t_sysfreq_sel':
drivers/media/tuners/r820t.c:722:31: warning: variable 'pre_dect' set but not used [-Wunused-but-set-variable]

While rtl8232 code comments it, perhaps some other driver may use.
So, the better is to keep the code there, allowing to enable it
via r820t config data.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/tuners/r820t.c
drivers/media/tuners/r820t.h