From: Andrew Morton Date: Tue, 13 Sep 2005 08:25:07 +0000 (-0700) Subject: [PATCH] i2c-keywest warning fix X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7979aca38b78ffe6a65ef309f26721c527104eaf;p=openwrt%2Fstaging%2Fblogic.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 37b49c2daf5f..eff5896ce865 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;