diff options
author | Manu Abraham <abraham.manu@gmail.com> | 2009-12-09 17:27:17 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-01-17 08:55:44 -0500 |
commit | 0ac6e141eb105f5845eb7066b5279709393b1c78 (patch) | |
tree | 940a2ec0ce7a132d860f5271dd64ec06bffce2da /drivers | |
parent | 83dbe82bd7766e5045e6561bd44e22b801e7ad76 (diff) |
V4L/DVB (13804): Remove unused I2C Adapter ID
Signed-off-by: <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/dvb/mantis/mantis_i2c.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/dvb/mantis/mantis_i2c.c b/drivers/media/dvb/mantis/mantis_i2c.c index 9d2b51d2e4b6..7bb4e78aa714 100644 --- a/drivers/media/dvb/mantis/mantis_i2c.c +++ b/drivers/media/dvb/mantis/mantis_i2c.c | |||
@@ -33,8 +33,6 @@ | |||
33 | #include "mantis_reg.h" | 33 | #include "mantis_reg.h" |
34 | #include "mantis_i2c.h" | 34 | #include "mantis_i2c.h" |
35 | 35 | ||
36 | #define I2C_HW_B_MANTIS 0x1c | ||
37 | |||
38 | #define TRIALS 10000 | 36 | #define TRIALS 10000 |
39 | 37 | ||
40 | static int mantis_i2c_read(struct mantis_pci *mantis, const struct i2c_msg *msg) | 38 | 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) | |||
234 | i2c_adapter->class = I2C_CLASS_TV_DIGITAL; | 232 | i2c_adapter->class = I2C_CLASS_TV_DIGITAL; |
235 | i2c_adapter->algo = &mantis_algo; | 233 | i2c_adapter->algo = &mantis_algo; |
236 | i2c_adapter->algo_data = NULL; | 234 | i2c_adapter->algo_data = NULL; |
237 | i2c_adapter->id = I2C_HW_B_MANTIS; | ||
238 | i2c_adapter->timeout = 500; | 235 | i2c_adapter->timeout = 500; |
239 | i2c_adapter->retries = 3; | 236 | i2c_adapter->retries = 3; |
240 | i2c_adapter->dev.parent = &pdev->dev; | 237 | i2c_adapter->dev.parent = &pdev->dev; |