• Mauro Carvalho Chehab's avatar
    [media] r820t: Remove a warning for an unused value · 7063c145
    Mauro Carvalho Chehab authored
    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: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
    7063c145
r820t.h 1.57 KB