]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] dib7000p: remove duplicate code and comment
authorGianluca Gennari <gennarone@gmail.com>
Thu, 12 Apr 2012 11:46:51 +0000 (08:46 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 19 Apr 2012 17:35:57 +0000 (14:35 -0300)
Remove duplicate code and comment, probably due to a patch applied twice.

Signed-off-by: Gianluca Gennari <gennarone@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/dib7000p.c

index 5ceadc285b3ad59ef187d4c074db352ff1155d5c..3e1eefada0e8adb577065225bb7ef9bdd3274102 100644 (file)
@@ -2396,11 +2396,6 @@ struct dvb_frontend *dib7000p_attach(struct i2c_adapter *i2c_adap, u8 i2c_addr,
           more common) */
        st->i2c_master.gated_tuner_i2c_adap.dev.parent = i2c_adap->dev.parent;
 
-       /* FIXME: make sure the dev.parent field is initialized, or else
-          request_firmware() will hit an OOPS (this should be moved somewhere
-          more common) */
-       st->i2c_master.gated_tuner_i2c_adap.dev.parent = i2c_adap->dev.parent;
-
        dibx000_init_i2c_master(&st->i2c_master, DIB7000P, st->i2c_adap, st->i2c_addr);
 
        /* init 7090 tuner adapter */