Browse Source

i2c-algo-pca: Drop duplicate variable

Thanks to -Wshadow.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Reviewed-by: Wolfram Sang <w.sang@pengutronix.de>
Jean Delvare 15 years ago
parent
commit
eec74a257f
1 changed files with 0 additions and 2 deletions
  1. 0 2
      drivers/i2c/algos/i2c-algo-pca.c

+ 0 - 2
drivers/i2c/algos/i2c-algo-pca.c

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