projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2629123
)
[media] m88ds3103: remove dead code
author
Antti Palosaari
<crope@iki.fi>
Sat, 1 Feb 2014 14:57:50 +0000
(11:57 -0300)
committer
Mauro Carvalho Chehab
<m.chehab@samsung.com>
Wed, 12 Mar 2014 11:04:32 +0000
(08:04 -0300)
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>
drivers/media/dvb-frontends/m88ds3103.c
patch
|
blob
|
history
diff --git
a/drivers/media/dvb-frontends/m88ds3103.c
b/drivers/media/dvb-frontends/m88ds3103.c
index b8a7897e7bd81210e4f35f43d551541385c37c27..e261bf9001996558a280123cc2a34f329da6cb1c 100644
(file)
--- 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) {