[media] lg2160: Fix a few warnings
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 20 May 2012 13:13:23 +0000 (10:13 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 20 May 2012 13:13:23 +0000 (10:13 -0300)
commit5444a1b76b3eb7e0acdaece07cfe2e2a4305bb77
tree15cd5a1e756aaae2613b429ead881548664269d0
parent10d67371fc6e7d4e3b869166843ba174763fe5aa
[media] lg2160: Fix a few warnings

drivers/media/dvb/frontends/lg2160.c: In function ‘lg216x_read_ucblocks’:
drivers/media/dvb/frontends/lg2160.c:1336:1: warning: label ‘fail’ defined but not used [-Wunused-label]
drivers/media/dvb/frontends/lg2160.c:1325:6: warning: unused variable ‘ret’ [-Wunused-variable]
drivers/media/dvb/frontends/lg2160.c:1324:23: warning: unused variable ‘state’ [-Wunused-variable]
drivers/media/dvb/frontends/lg2160.c: In function ‘lg216x_set_ensemble’:
drivers/media/dvb/frontends/lg2160.c:420:23: warning: ‘reg’ may be used uninitialized in this function [-Wuninitialized]

Cc: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/lg2160.c