[PATCH] i2c-keywest warning fix
authorAndrew Morton <akpm@osdl.org>
Tue, 13 Sep 2005 08:25:07 +0000 (01:25 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 13 Sep 2005 15:22:28 +0000 (08:22 -0700)
Unused variable.

Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/i2c/busses/i2c-keywest.c

index 37b49c2daf5f824a5057ff713effce45149f7116..eff5896ce865572baab25f49802077f78f6f8ea7 100644 (file)
@@ -611,7 +611,6 @@ create_iface(struct device_node *np, struct device *dev)
        
        for (i=0; i<nchan; i++) {
                struct keywest_chan* chan = &iface->channels[i];
-               u8 addr;
                
                sprintf(chan->adapter.name, "%s %d", np->parent->name, i);
                chan->iface = iface;