From: Jiri Slaby Date: Wed, 6 Jan 2010 22:04:07 +0000 (-0300) Subject: V4L/DVB (13965): zl10039, jump to error on error X-Git-Tag: v2.6.34-rc1~280^2~269 X-Git-Url: http://bbs.cooldavid.org/git/?a=commitdiff_plain;h=78b06e0201fb32716211959bce133740a13873c4;p=net-next-2.6.git 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 Signed-off-by: Jiri Slaby Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb/frontends/zl10039.c b/drivers/media/dvb/frontends/zl10039.c index 11b29cb883e..c085e58a94b 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; }