Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c87994db authored by Julia Lawall's avatar Julia Lawall Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (8954): common/tuners: Drop code after return or goto



The break after the return or goto serves no purpose.

Signed-off-by: default avatarJulia Lawall <julia@diku.dk>
Reviewed-by: default avatarRichard Genoud <richard.genoud@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent c9166977
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;
+0 −1
Original line number Diff line number Diff line
@@ -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;
+0 −1
Original line number Diff line number Diff line
@@ -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;
+0 −1
Original line number Diff line number Diff line
@@ -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;