提交 096c8fac 编写于 作者: M Mauro Carvalho Chehab

[media] drx-j: remove some unused data

Those struct data aren't used anymore. Get rid of them.
Acked-by: NDevin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
上级 ceea5e2d
...@@ -29,9 +29,7 @@ ...@@ -29,9 +29,7 @@
struct drx39xxj_state { struct drx39xxj_state {
struct i2c_adapter *i2c; struct i2c_adapter *i2c;
struct drx_demod_instance *demod; struct drx_demod_instance *demod;
enum drx_standard current_standard;
struct dvb_frontend frontend; struct dvb_frontend frontend;
unsigned int powered_up:1;
unsigned int i2c_gate_open:1; unsigned int i2c_gate_open:1;
const struct firmware *fw; const struct firmware *fw;
}; };
......
...@@ -20015,7 +20015,6 @@ static int drx39xxj_set_powerstate(struct dvb_frontend *fe, int enable) ...@@ -20015,7 +20015,6 @@ static int drx39xxj_set_powerstate(struct dvb_frontend *fe, int enable)
return 0; return 0;
} }
state->powered_up = enable;
return 0; return 0;
} }
...@@ -20222,8 +20221,6 @@ static int drx39xxj_set_frontend(struct dvb_frontend *fe) ...@@ -20222,8 +20221,6 @@ static int drx39xxj_set_frontend(struct dvb_frontend *fe)
result); result);
return -EINVAL; return -EINVAL;
} }
state->powered_up = 1;
state->current_standard = standard;
/* set channel parameters */ /* set channel parameters */
channel = def_channel; channel = def_channel;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册