]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (13965): zl10039, jump to error on error
authorJiri Slaby <jslaby@suse.cz>
Wed, 6 Jan 2010 22:04:07 +0000 (19:04 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Feb 2010 18:10:35 +0000 (15:10 -0300)
commitfe4d7081c5dce96594526c804e6878ceb31bc704
treef2a84b6300efcedc846a4ed596c73844438f0274
parenteadfb6f764d99b3c52419188cb3ceaf8f7e9727f
V4L/DVB (13965): zl10039, jump to error on error

Stanse found an unreachable statement in zl10039_attach. There is
a `break' followed by `goto error'. Remove that break, so that it
can handle the error.

Cc: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/zl10039.c