]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] drx-j: remove some unused data
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 26 Jan 2014 19:07:53 +0000 (16:07 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 4 Mar 2014 17:37:53 +0000 (14:37 -0300)
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>
drivers/media/dvb-frontends/drx39xyj/drx39xxj.h
drivers/media/dvb-frontends/drx39xyj/drxj.c

index b9f642e5d98b9b97d26bd2b0fba74d99d77f7921..2e0c50f0a12ab1c4c670039bed55636a4a4b30a0 100644 (file)
@@ -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;
 };
index c843d8f4a96a961fc4ccef93a1a3b54859c45b5d..6fe65f4bd912cfcec0cfc2c6ceb5ccc12ff3ede9 100644 (file)
@@ -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;