summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/frontends/zl10039.c
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2010-01-07 01:04:07 +0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-02-26 21:10:35 +0300
commit78b06e0201fb32716211959bce133740a13873c4 (patch)
treef2a84b6300efcedc846a4ed596c73844438f0274 /drivers/media/dvb/frontends/zl10039.c
parenta570fb6eec804e99c7fd3ac1db192842e9269bbb (diff)
downloadlinux-78b06e0201fb32716211959bce133740a13873c4.tar.xz
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>
Diffstat (limited to 'drivers/media/dvb/frontends/zl10039.c')
-rw-r--r--drivers/media/dvb/frontends/zl10039.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/zl10039.c b/drivers/media/dvb/frontends/zl10039.c
index 11b29cb883e6..c085e58a94bf 100644
--- a/drivers/media/dvb/frontends/zl10039.c
+++ b/drivers/media/dvb/frontends/zl10039.c
@@ -287,7 +287,6 @@ struct dvb_frontend *zl10039_attach(struct dvb_frontend *fe,
break;
default:
dprintk("Chip ID=%x does not match a known type\n", state->id);
- break;
goto error;
}