projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f39a4aa
)
[PATCH] i2c-keywest warning fix
author
Andrew Morton
<akpm@osdl.org>
Tue, 13 Sep 2005 08:25:07 +0000
(
01:25
-0700)
committer
Linus 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
patch
|
blob
|
history
diff --git
a/drivers/i2c/busses/i2c-keywest.c
b/drivers/i2c/busses/i2c-keywest.c
index 37b49c2daf5f824a5057ff713effce45149f7116..eff5896ce865572baab25f49802077f78f6f8ea7 100644
(file)
--- 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; 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;