Skip to content

Commit

Permalink
[PATCH] i2c-keywest warning fix
Browse files Browse the repository at this point in the history
Unused variable.

Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Sep 13, 2005
1 parent f39a4aa commit 7979aca
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/i2c/busses/i2c-keywest.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7979aca

Please sign in to comment.