提交 bd79014c 编写于 作者: G Geert Uytterhoeven

zorro: Don't fill in dummy names in zorro_name_device()

If the device is not found in the database, it's not needed to fill in
a dummy name. The caller of zorro_name_device() has already taken care
of that to support CONFIG_ZORRO_NAMES=n.
Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
上级 c293738e
......@@ -69,7 +69,6 @@ void __init zorro_name_device(struct zorro_dev *dev)
} while (--i);
/* Couldn't find either the manufacturer nor the product */
sprintf(name, "Zorro device %08x", dev->id);
return;
match_manuf: {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册