linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] i2c-algo-pca: Drop duplicate variable
@ 2010-02-16 11:22 Jean Delvare
       [not found] ` <20100216122228.63984b93-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Jean Delvare @ 2010-02-16 11:22 UTC (permalink / raw)
  To: Linux I2C; +Cc: Wolfram Sang

Thanks to -Wshadow.

Signed-off-by: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
Cc: Wolfram Sang <w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
---
 drivers/i2c/algos/i2c-algo-pca.c |    2 --
 1 file changed, 2 deletions(-)

--- linux-2.6.33-rc8.orig/drivers/i2c/algos/i2c-algo-pca.c	2009-06-10 05:05:27.000000000 +0200
+++ linux-2.6.33-rc8/drivers/i2c/algos/i2c-algo-pca.c	2010-02-16 12:04:46.000000000 +0100
@@ -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
 		 */


-- 
Jean Delvare

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-02-16 20:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-16 11:22 [PATCH] i2c-algo-pca: Drop duplicate variable Jean Delvare
     [not found] ` <20100216122228.63984b93-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2010-02-16 20:16   ` Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).