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

Commit 672e0248 authored by Antti Palosaari's avatar Antti Palosaari Committed by Mauro Carvalho Chehab
Browse files

[media] m88ds3103: remove dead code



Coverity CID 1166050: Dead default in switch (DEADCODE)

Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent 26291233
Loading
Loading
Loading
Loading
+0 −9
Original line number Original line Diff line number Diff line
@@ -711,9 +711,6 @@ static int m88ds3103_get_frontend(struct dvb_frontend *fe)
		case 1:
		case 1:
			c->inversion = INVERSION_ON;
			c->inversion = INVERSION_ON;
			break;
			break;
		default:
			dev_dbg(&priv->i2c->dev, "%s: invalid inversion\n",
					__func__);
		}
		}


		switch ((buf[1] >> 5) & 0x07) {
		switch ((buf[1] >> 5) & 0x07) {
@@ -793,9 +790,6 @@ static int m88ds3103_get_frontend(struct dvb_frontend *fe)
		case 1:
		case 1:
			c->pilot = PILOT_ON;
			c->pilot = PILOT_ON;
			break;
			break;
		default:
			dev_dbg(&priv->i2c->dev, "%s: invalid pilot\n",
					__func__);
		}
		}


		switch ((buf[0] >> 6) & 0x07) {
		switch ((buf[0] >> 6) & 0x07) {
@@ -823,9 +817,6 @@ static int m88ds3103_get_frontend(struct dvb_frontend *fe)
		case 1:
		case 1:
			c->inversion = INVERSION_ON;
			c->inversion = INVERSION_ON;
			break;
			break;
		default:
			dev_dbg(&priv->i2c->dev, "%s: invalid inversion\n",
					__func__);
		}
		}


		switch ((buf[2] >> 0) & 0x03) {
		switch ((buf[2] >> 0) & 0x03) {