V4L/DVB (8954): common/tuners: Drop code after return or goto
authorJulia Lawall <julia@diku.dk>
Thu, 11 Sep 2008 12:33:26 +0000 (09:33 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 12 Oct 2008 11:37:01 +0000 (09:37 -0200)
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>
drivers/media/common/tuners/mxl5007t.c
drivers/media/common/tuners/tda18271-fe.c
drivers/media/common/tuners/tda9887.c
drivers/media/common/tuners/tuner-simple.c

index cb25e43502fe5922d69a163c69172a1a32a7ae21..64379f2bf2370eaf221d33aea24a7c946ab75f5a 100644 (file)
@@ -979,7 +979,6 @@ struct dvb_frontend *mxl5007t_attach(struct dvb_frontend *fe,
        switch (instance) {
        case 0:
                goto fail;
-               break;
        case 1:
                /* new tuner instance */
                state->config = cfg;
index 93063c6fbbf634e42aac29b3502de2b66104e232..1b48b5d0bf1ef7a708a92131d120684c98750b43 100644 (file)
@@ -1155,7 +1155,6 @@ struct dvb_frontend *tda18271_attach(struct dvb_frontend *fe, u8 addr,
        switch (instance) {
        case 0:
                goto fail;
-               break;
        case 1:
                /* new tuner instance */
                priv->gate = (cfg) ? cfg->gate : TDA18271_GATE_AUTO;
index 72abf0b73486d19c3e69e4330b0213f1d963a9f3..ff1788cc5d48ef6068a9759dd61061388e299445 100644 (file)
@@ -686,7 +686,6 @@ struct dvb_frontend *tda9887_attach(struct dvb_frontend *fe,
        case 0:
                mutex_unlock(&tda9887_list_mutex);
                return NULL;
-               break;
        case 1:
                fe->analog_demod_priv = priv;
                priv->mode = T_STANDBY;
index fc3a6a9d7c2973e68b68d9b14c014899cf8b1d9f..2a1aac1cc7552d33ec72e55073d873d72e323ce7 100644 (file)
@@ -1040,7 +1040,6 @@ struct dvb_frontend *simple_tuner_attach(struct dvb_frontend *fe,
        case 0:
                mutex_unlock(&tuner_simple_list_mutex);
                return NULL;
-               break;
        case 1:
                fe->tuner_priv = priv;