summaryrefslogtreecommitdiffstats
path: root/drivers
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 /drivers
parenti2c: Hook up runtime PM support (diff)
downloadlinux-eec74a257f0a695688ba44c0f6c1e92dc81459be.tar.xz
linux-eec74a257f0a695688ba44c0f6c1e92dc81459be.zip
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>
Diffstat (limited to 'drivers')
-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
*/