@@ -29,9 +29,7 @@
struct drx39xxj_state {
struct i2c_adapter *i2c;
struct drx_demod_instance *demod;
- enum drx_standard current_standard;
struct dvb_frontend frontend;
- unsigned int powered_up:1;
unsigned int i2c_gate_open:1;
const struct firmware *fw;
};
@@ -20015,7 +20015,6 @@ static int drx39xxj_set_powerstate(struct dvb_frontend *fe, int enable)
return 0;
}
- state->powered_up = enable;
return 0;
}
@@ -20222,8 +20221,6 @@ static int drx39xxj_set_frontend(struct dvb_frontend *fe)
result);
return -EINVAL;
}
- state->powered_up = 1;
- state->current_standard = standard;
/* set channel parameters */
channel = def_channel;
Those struct data aren't used anymore. Get rid of them. Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com> --- drivers/media/dvb-frontends/drx39xyj/drx39xxj.h | 2 -- drivers/media/dvb-frontends/drx39xyj/drxj.c | 3 --- 2 files changed, 5 deletions(-)