[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:
parent
f39a4aa5ea
commit
7979aca38b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue