diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-09-24 21:29:45 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-09-26 11:47:58 +0200 |
commit | b39ba19cf3d0f8a7c86bfcf0b0964b0d4c1fae33 (patch) | |
tree | 01f7e94edc35c809f70def1d153b53846133dac4 /drivers/media | |
parent | [media] saa7146: remove return after BUG() (diff) | |
download | linux-b39ba19cf3d0f8a7c86bfcf0b0964b0d4c1fae33.tar.xz linux-b39ba19cf3d0f8a7c86bfcf0b0964b0d4c1fae33.zip |
[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>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/dvb-frontends/drxd_hard.c | 6 |
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) static int drxd_init(struct dvb_frontend *fe) { struct drxd_state *state = fe->demodulator_priv; - int err = 0; -/* if (request_firmware(&state->fw, "drxd.fw", state->dev)<0) */ return DRXD_init(state, NULL, 0); - - err = DRXD_init(state, state->fw->data, state->fw->size); - release_firmware(state->fw); - return err; } static int drxd_config_i2c(struct dvb_frontend *fe, int onoff) |