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

Char: rocket, don't re-set statics to 0

Signed-off-by: NJiri Slaby <jirislaby@gmail.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 ac6aec2f
......@@ -2375,18 +2375,6 @@ static int __init rp_init(void)
if (!rocket_driver)
return -ENOMEM;
/*
* Initialize the array of pointers to our own internal state
* structures.
*/
memset(rp_table, 0, sizeof (rp_table));
memset(xmit_flags, 0, sizeof (xmit_flags));
for (i = 0; i < MAX_RP_PORTS; i++)
lineNumbers[i] = 0;
nextLineNumber = 0;
memset(rocketModel, 0, sizeof (rocketModel));
/*
* If board 1 is non-zero, there is at least one ISA configured. If controller is
* zero, use the default controller IO address of board1 + 0x40.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册