summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2010-03-02 12:23:47 +0100
committerJean Delvare <khali@linux-fr.org>2010-03-02 12:23:47 +0100
commiteec74a257f0a695688ba44c0f6c1e92dc81459be (patch)
tree9fba8632a726966ca3c64881996c4eec9e12a866
parent6de468ae2df0ee6fbee668d946811638b57361f6 (diff)
downloadlinux-eec74a257f0a695688ba44c0f6c1e92dc81459be.tar.bz2
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>
-rw-r--r--drivers/i2c/algos/i2c-algo-pca.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/i2c/algos/i2c-algo-pca.c b/drivers/i2c/algos/i2c-algo-pca.c
index 78d42aae0089..dcdaf8e675bf 100644
--- a/drivers/i2c/algos/i2c-algo-pca.c
+++ b/drivers/i2c/algos/i2c-algo-pca.c
@@ -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
*/