projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a570fb6
)
V4L/DVB (13965): zl10039, jump to error on error
author
Jiri Slaby
<
[email protected]
>
Wed, 6 Jan 2010 22:04:07 +0000
(19:04 -0300)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Fri, 26 Feb 2010 18:10:35 +0000
(15:10 -0300)
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 <
[email protected]
>
Signed-off-by: Jiri Slaby <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/dvb/frontends/zl10039.c
patch
|
blob
|
history
diff --git
a/drivers/media/dvb/frontends/zl10039.c
b/drivers/media/dvb/frontends/zl10039.c
index 11b29cb883e63ccf0c64d0a5dcd527b2b5caba10..c085e58a94bfe7d64b876a3421d244eb392b473d 100644
(file)
--- 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;
}