[PATCH] i2c-keywest warning fix
Unused variable. Cc: Greg KH <greg@kroah.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
f39a4aa5ea
commit
7979aca38b
@@ -611,7 +611,6 @@ create_iface(struct device_node *np, struct device *dev)
|
|||||||
|
|
||||||
for (i=0; i<nchan; i++) {
|
for (i=0; i<nchan; i++) {
|
||||||
struct keywest_chan* chan = &iface->channels[i];
|
struct keywest_chan* chan = &iface->channels[i];
|
||||||
u8 addr;
|
|
||||||
|
|
||||||
sprintf(chan->adapter.name, "%s %d", np->parent->name, i);
|
sprintf(chan->adapter.name, "%s %d", np->parent->name, i);
|
||||||
chan->iface = iface;
|
chan->iface = iface;
|
||||||
|
Reference in New Issue
Block a user