V4L/DVB (13804): Remove unused I2C Adapter ID
authorManu Abraham <abraham.manu@gmail.com>
Wed, 9 Dec 2009 22:27:17 +0000 (19:27 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 17 Jan 2010 13:55:44 +0000 (11:55 -0200)
Signed-off-by: <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/mantis/mantis_i2c.c

index 9d2b51d..7bb4e78 100644 (file)
@@ -33,8 +33,6 @@
 #include "mantis_reg.h"
 #include "mantis_i2c.h"
 
-#define I2C_HW_B_MANTIS                0x1c
-
 #define TRIALS                 10000
 
 static int mantis_i2c_read(struct mantis_pci *mantis, const struct i2c_msg *msg)
@@ -234,7 +232,6 @@ int __devinit mantis_i2c_init(struct mantis_pci *mantis)
        i2c_adapter->class      = I2C_CLASS_TV_DIGITAL;
        i2c_adapter->algo       = &mantis_algo;
        i2c_adapter->algo_data  = NULL;
-       i2c_adapter->id         = I2C_HW_B_MANTIS;
        i2c_adapter->timeout    = 500;
        i2c_adapter->retries    = 3;
        i2c_adapter->dev.parent = &pdev->dev;