summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/drx39xyj
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-01-26 20:07:53 +0100
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-03-04 18:37:53 +0100
commit096c8fac7d5385b4597bb6896284e62b1849161b (patch)
tree9b289b653fe31eb64f65a1ddabe69408f3fe617c /drivers/media/dvb-frontends/drx39xyj
parent[media] drx-j: use the proper timeout code on scu_command (diff)
downloadlinux-096c8fac7d5385b4597bb6896284e62b1849161b.tar.xz
linux-096c8fac7d5385b4597bb6896284e62b1849161b.zip
[media] drx-j: remove some unused data
Those struct data aren't used anymore. Get rid of them. Acked-by: Devin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/drx39xyj')
-rw-r--r--drivers/media/dvb-frontends/drx39xyj/drx39xxj.h2
-rw-r--r--drivers/media/dvb-frontends/drx39xyj/drxj.c3
2 files changed, 0 insertions, 5 deletions
diff --git a/drivers/media/dvb-frontends/drx39xyj/drx39xxj.h b/drivers/media/dvb-frontends/drx39xyj/drx39xxj.h
index b9f642e5d98b..2e0c50f0a12a 100644
--- a/drivers/media/dvb-frontends/drx39xyj/drx39xxj.h
+++ b/drivers/media/dvb-frontends/drx39xyj/drx39xxj.h
@@ -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;
};
diff --git a/drivers/media/dvb-frontends/drx39xyj/drxj.c b/drivers/media/dvb-frontends/drx39xyj/drxj.c
index c843d8f4a96a..6fe65f4bd912 100644
--- a/drivers/media/dvb-frontends/drx39xyj/drxj.c
+++ b/drivers/media/dvb-frontends/drx39xyj/drxj.c
@@ -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;