projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6de468a
)
i2c-algo-pca: Drop duplicate variable
author
Jean Delvare
<khali@linux-fr.org>
Tue, 2 Mar 2010 11:23:47 +0000
(12:23 +0100)
committer
Jean 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
patch
|
blob
|
history
diff --git
a/drivers/i2c/algos/i2c-algo-pca.c
b/drivers/i2c/algos/i2c-algo-pca.c
index
78d42aa
..
dcdaf8e
100644
(file)
--- 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
*/