提交 7979aca3 编写于 作者: A Andrew Morton 提交者: Linus Torvalds

[PATCH] i2c-keywest warning fix

Unused variable.

Cc: Greg KH <greg@kroah.com>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 f39a4aa5
...@@ -611,7 +611,6 @@ create_iface(struct device_node *np, struct device *dev) ...@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册