diff options
author | Julia Lawall <julia@diku.dk> | 2008-09-11 08:33:26 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-12 07:37:01 -0400 |
commit | c87994db017a5a28af2edd043669a371d800919e (patch) | |
tree | 1a7a76cd727eca72ffef6e8fc4217f678c9365d8 /drivers/media/common | |
parent | c9166977efdb6480dbac13df226113eb75026606 (diff) |
V4L/DVB (8954): common/tuners: Drop code after return or goto
The break after the return or goto serves no purpose.
Signed-off-by: Julia Lawall <julia@diku.dk>
Reviewed-by: Richard Genoud <richard.genoud@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common')
-rw-r--r-- | drivers/media/common/tuners/mxl5007t.c | 1 | ||||
-rw-r--r-- | drivers/media/common/tuners/tda18271-fe.c | 1 | ||||
-rw-r--r-- | drivers/media/common/tuners/tda9887.c | 1 | ||||
-rw-r--r-- | drivers/media/common/tuners/tuner-simple.c | 1 |
4 files changed, 0 insertions, 4 deletions
diff --git a/drivers/media/common/tuners/mxl5007t.c b/drivers/media/common/tuners/mxl5007t.c index cb25e43502fe..64379f2bf237 100644 --- a/drivers/media/common/tuners/mxl5007t.c +++ b/drivers/media/common/tuners/mxl5007t.c | |||
@@ -979,7 +979,6 @@ struct dvb_frontend *mxl5007t_attach(struct dvb_frontend *fe, | |||
979 | switch (instance) { | 979 | switch (instance) { |
980 | case 0: | 980 | case 0: |
981 | goto fail; | 981 | goto fail; |
982 | break; | ||
983 | case 1: | 982 | case 1: |
984 | /* new tuner instance */ | 983 | /* new tuner instance */ |
985 | state->config = cfg; | 984 | state->config = cfg; |
diff --git a/drivers/media/common/tuners/tda18271-fe.c b/drivers/media/common/tuners/tda18271-fe.c index 93063c6fbbf6..1b48b5d0bf1e 100644 --- a/drivers/media/common/tuners/tda18271-fe.c +++ b/drivers/media/common/tuners/tda18271-fe.c | |||
@@ -1155,7 +1155,6 @@ struct dvb_frontend *tda18271_attach(struct dvb_frontend *fe, u8 addr, | |||
1155 | switch (instance) { | 1155 | switch (instance) { |
1156 | case 0: | 1156 | case 0: |
1157 | goto fail; | 1157 | goto fail; |
1158 | break; | ||
1159 | case 1: | 1158 | case 1: |
1160 | /* new tuner instance */ | 1159 | /* new tuner instance */ |
1161 | priv->gate = (cfg) ? cfg->gate : TDA18271_GATE_AUTO; | 1160 | priv->gate = (cfg) ? cfg->gate : TDA18271_GATE_AUTO; |
diff --git a/drivers/media/common/tuners/tda9887.c b/drivers/media/common/tuners/tda9887.c index 72abf0b73486..ff1788cc5d48 100644 --- a/drivers/media/common/tuners/tda9887.c +++ b/drivers/media/common/tuners/tda9887.c | |||
@@ -686,7 +686,6 @@ struct dvb_frontend *tda9887_attach(struct dvb_frontend *fe, | |||
686 | case 0: | 686 | case 0: |
687 | mutex_unlock(&tda9887_list_mutex); | 687 | mutex_unlock(&tda9887_list_mutex); |
688 | return NULL; | 688 | return NULL; |
689 | break; | ||
690 | case 1: | 689 | case 1: |
691 | fe->analog_demod_priv = priv; | 690 | fe->analog_demod_priv = priv; |
692 | priv->mode = T_STANDBY; | 691 | priv->mode = T_STANDBY; |
diff --git a/drivers/media/common/tuners/tuner-simple.c b/drivers/media/common/tuners/tuner-simple.c index fc3a6a9d7c29..2a1aac1cc755 100644 --- a/drivers/media/common/tuners/tuner-simple.c +++ b/drivers/media/common/tuners/tuner-simple.c | |||
@@ -1040,7 +1040,6 @@ struct dvb_frontend *simple_tuner_attach(struct dvb_frontend *fe, | |||
1040 | case 0: | 1040 | case 0: |
1041 | mutex_unlock(&tuner_simple_list_mutex); | 1041 | mutex_unlock(&tuner_simple_list_mutex); |
1042 | return NULL; | 1042 | return NULL; |
1043 | break; | ||
1044 | case 1: | 1043 | case 1: |
1045 | fe->tuner_priv = priv; | 1044 | fe->tuner_priv = priv; |
1046 | 1045 | ||