提交 8acef8fc 编写于 作者: J Jiri Slaby 提交者: Linus Torvalds

[PATCH] Char: isicom, remove unneeded memset

Memsetting of global static variables is not needed in the init code.
Signed-off-by: NJiri Slaby <jirislaby@gmail.com>
Acked-by: NAlan Cox <alan@redhat.com>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 18234f88
......@@ -1836,7 +1836,6 @@ static int __init isicom_init(void)
struct isi_port *port;
card = 0;
memset(isi_ports, 0, sizeof(isi_ports));
for(idx = 0; idx < BOARD_COUNT; idx++) {
port = &isi_ports[idx * 16];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册