[media] drx-j: remove the unused tuner_i2c_write_read() function
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 16 Jan 2014 14:32:04 +0000 (11:32 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 4 Mar 2014 17:24:44 +0000 (14:24 -0300)
This function is not static. Also, it is not used anywhere.
So, drop it.

Acked-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-frontends/drx39xyj/drxj.c

index bd7ad1838d89ff5df8e60850d2eb8eb9e7fe49a2..5bf215e33f2fa12b346e6638256863e11eec7aaf 100644 (file)
@@ -4204,22 +4204,6 @@ ctrl_i2c_write_read(pdrx_demod_instance_t demod, pdrxi2c_data_t i2c_data)
        return (DRX_STS_FUNC_NOT_AVAILABLE);
 }
 
-int
-tuner_i2c_write_read(struct tuner_instance *tuner,
-                    struct i2c_device_addr *w_dev_addr,
-                 u16 w_count,
-                 u8 *wData,
-                 struct i2c_device_addr *r_dev_addr, u16 r_count, u8 *r_data)
-{
-       pdrx_demod_instance_t demod;
-       drxi2c_data_t i2c_data =
-           { 2, w_dev_addr, w_count, wData, r_dev_addr, r_count, r_data };
-
-       demod = (pdrx_demod_instance_t) (tuner->my_common_attr->myUser_data);
-
-       return (ctrl_i2c_write_read(demod, &i2c_data));
-}
-
 /* -------------------------------------------------------------------------- */
 /**
 * \brief Measure result of ADC synchronisation