Skip to contentSkip to conversation

i2c-algo-pca: Drop duplicate variable

PATCH In review Jean Delvare 2 participants 2 messages Feb 16, 2010 1 message not in the archive I2C subsystem host drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i2c-algo-pca: Drop duplicate variable

Thanks to -Wshadow.

---
 drivers/i2c/algos/i2c-algo-pca.c |    2 --
 1 file changed, 2 deletions(-)
drivers/i2c/algos/i2c-algo-pca.c +0 -2
@@ -453,8 +453,6 @@ static int pca_init(struct i2c_adapter *
 		 */
 		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
 		 */
Signature · 1 line
Jean Delvare

A message that is not in the archive (sent off-list or not yet received): [email protected]