aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-09-24 15:29:45 -0400
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-09-26 05:47:58 -0400
commitb39ba19cf3d0f8a7c86bfcf0b0964b0d4c1fae33 (patch)
tree01f7e94edc35c809f70def1d153b53846133dac4
parentae64b5ab4a181b483ff819174cfc74d02a54286a (diff)
[media] drxd: remove a dead code
drivers/media/dvb-frontends/drxd_hard.c:2839 drxd_init() info: ignoring unreachable code. Firmware request/release is not at drxd_init. So, we can remove that dead code. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
-rw-r--r--drivers/media/dvb-frontends/drxd_hard.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/media/dvb-frontends/drxd_hard.c b/drivers/media/dvb-frontends/drxd_hard.c
index 961641b67728..687e893d29fe 100644
--- a/drivers/media/dvb-frontends/drxd_hard.c
+++ b/drivers/media/dvb-frontends/drxd_hard.c
@@ -2831,14 +2831,8 @@ static int drxd_read_status(struct dvb_frontend *fe, fe_status_t * status)
2831static int drxd_init(struct dvb_frontend *fe) 2831static int drxd_init(struct dvb_frontend *fe)
2832{ 2832{
2833 struct drxd_state *state = fe->demodulator_priv; 2833 struct drxd_state *state = fe->demodulator_priv;
2834 int err = 0;
2835 2834
2836/* if (request_firmware(&state->fw, "drxd.fw", state->dev)<0) */
2837 return DRXD_init(state, NULL, 0); 2835 return DRXD_init(state, NULL, 0);
2838
2839 err = DRXD_init(state, state->fw->data, state->fw->size);
2840 release_firmware(state->fw);
2841 return err;
2842} 2836}
2843 2837
2844static int drxd_config_i2c(struct dvb_frontend *fe, int onoff) 2838static int drxd_config_i2c(struct dvb_frontend *fe, int onoff)