]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitcd8b357b9fe3ca0aa98dc163d2eb057e39140486
tree458001273f0a396246804449206bf216c5e12cd8
parentc7608ddc847312447fa77450db9e96e1bde68be0
[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