Skip to content

Commit

Permalink
V4L/DVB (13965): zl10039, jump to error on error
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jiri Slaby authored and Mauro Carvalho Chehab committed Feb 26, 2010
1 parent a570fb6 commit 78b06e0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/media/dvb/frontends/zl10039.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 78b06e0

Please sign in to comment.