i2c-algo-pca: Drop duplicate variable
authorJean Delvare <khali@linux-fr.org>
Tue, 2 Mar 2010 11:23:47 +0000 (12:23 +0100)
committerJean Delvare <khali@linux-fr.org>
Tue, 2 Mar 2010 11:23:47 +0000 (12:23 +0100)
Thanks to -Wshadow.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Reviewed-by: Wolfram Sang <w.sang@pengutronix.de>
drivers/i2c/algos/i2c-algo-pca.c

index 78d42aa..dcdaf8e 100644 (file)
@@ -453,8 +453,6 @@ static int pca_init(struct i2c_adapter *adap)
                 */
                int raise_fall_time;
 
-               struct i2c_algo_pca_data *pca_data = adap->algo_data;
-
                /* Ignore the reset function from the module,
                 * we can use the parallel bus reset
                 */