From: Andrew Morton Date: Tue, 13 Sep 2005 08:25:07 +0000 (-0700) Subject: [PATCH] i2c-keywest warning fix X-Git-Tag: v2.6.14-rc2~102 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=7979aca38b78ffe6a65ef309f26721c527104eaf;p=linux-2.6-omap-h63xx.git [PATCH] i2c-keywest warning fix Unused variable. Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/i2c/busses/i2c-keywest.c b/drivers/i2c/busses/i2c-keywest.c index 37b49c2daf5..eff5896ce86 100644 --- a/drivers/i2c/busses/i2c-keywest.c +++ b/drivers/i2c/busses/i2c-keywest.c @@ -611,7 +611,6 @@ create_iface(struct device_node *np, struct device *dev) for (i=0; ichannels[i]; - u8 addr; sprintf(chan->adapter.name, "%s %d", np->parent->name, i); chan->iface = iface;