[media] dib8000: Fix dib8000_set_frontend() never setting ret
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 2 Jun 2013 16:52:17 +0000 (13:52 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 8 Jun 2013 22:56:48 +0000 (19:56 -0300)
commit4d8d5d92cb239142d888c7844db2b078e14d4213
tree458001273f0a396246804449206bf216c5e12cd8
parent17706f5653a90ff277b5b36c2eb60ff872df5e7a
[media] dib8000: Fix dib8000_set_frontend() never setting ret

drivers/media/dvb-frontends/dib8000.c: In function ‘dib8000_set_frontend’:
drivers/media/dvb-frontends/dib8000.c:3556: warning: ‘ret’ is used uninitialized in this function
Remove the variable and return zero instead.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb-frontends/dib8000.c