diff options
author | Antti Palosaari <crope@iki.fi> | 2014-02-01 15:57:50 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-03-12 12:04:32 +0100 |
commit | 672e02485e008052394970fb46ba7e59abb90ce8 (patch) | |
tree | 99b9840cc04f6044dce659611e447d76c343dd1f /drivers/media/dvb-frontends/m88ds3103.c | |
parent | [media] rc-main: fix missing unlock if no devno left (diff) | |
download | linux-672e02485e008052394970fb46ba7e59abb90ce8.tar.xz linux-672e02485e008052394970fb46ba7e59abb90ce8.zip |
[media] m88ds3103: remove dead code
Coverity CID 1166050: Dead default in switch (DEADCODE)
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/m88ds3103.c')
-rw-r--r-- | drivers/media/dvb-frontends/m88ds3103.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/media/dvb-frontends/m88ds3103.c b/drivers/media/dvb-frontends/m88ds3103.c index b8a7897e7bd8..e261bf900199 100644 --- a/drivers/media/dvb-frontends/m88ds3103.c +++ b/drivers/media/dvb-frontends/m88ds3103.c @@ -711,9 +711,6 @@ static int m88ds3103_get_frontend(struct dvb_frontend *fe) case 1: c->inversion = INVERSION_ON; break; - default: - dev_dbg(&priv->i2c->dev, "%s: invalid inversion\n", - __func__); } switch ((buf[1] >> 5) & 0x07) { @@ -793,9 +790,6 @@ static int m88ds3103_get_frontend(struct dvb_frontend *fe) case 1: c->pilot = PILOT_ON; break; - default: - dev_dbg(&priv->i2c->dev, "%s: invalid pilot\n", - __func__); } switch ((buf[0] >> 6) & 0x07) { @@ -823,9 +817,6 @@ static int m88ds3103_get_frontend(struct dvb_frontend *fe) case 1: c->inversion = INVERSION_ON; break; - default: - dev_dbg(&priv->i2c->dev, "%s: invalid inversion\n", - __func__); } switch ((buf[2] >> 0) & 0x03) { |