This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/media_tree.git tree:

Subject: [media] TM6000: Drop unused macro
Author:  Jean Delvare <[email protected]>
Date:    Sun Nov 7 12:54:39 2010 -0300

Signed-off-by: Jean Delvare <[email protected]>
Cc: Michel Ludwig <[email protected]>
Cc: Stefan Ringel <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/staging/tm6000/tm6000-i2c.c |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)

---

http://git.linuxtv.org/media_tree.git?a=commitdiff;h=058ec34ce62917d20ede4caf3ab633aa0f61e220

diff --git a/drivers/staging/tm6000/tm6000-i2c.c 
b/drivers/staging/tm6000/tm6000-i2c.c
index 798087e..18de474 100644
--- a/drivers/staging/tm6000/tm6000-i2c.c
+++ b/drivers/staging/tm6000/tm6000-i2c.c
@@ -301,18 +301,6 @@ static u32 functionality(struct i2c_adapter *adap)
        return I2C_FUNC_SMBUS_EMUL;
 }
 
-#define mass_write(addr, reg, data...)                                 \
-       { static const u8 _val[] = data;                                \
-       rc = tm6000_read_write_usb(dev, USB_DIR_OUT | USB_TYPE_VENDOR,  \
-       REQ_16_SET_GET_I2C_WR1_RDN, (reg<<8)+addr, 0x00, (u8 *) _val,   \
-       ARRAY_SIZE(_val));                                              \
-       if (rc < 0) {                                                   \
-               printk(KERN_ERR "Error on line %d: %d\n", __LINE__, rc);        
\
-               return rc;                                              \
-       }                                                               \
-       msleep(10);                                                     \
-       }
-
 static const struct i2c_algorithm tm6000_algo = {
        .master_xfer   = tm6000_i2c_xfer,
        .functionality = functionality,

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to