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

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Jiri Slaby 2007-10-18 03:06:27 -07:00 коммит произвёл Linus Torvalds
Родитель ac6aec2f56
Коммит c148b9d555
1 изменённых файлов: 0 добавлений и 12 удалений

Просмотреть файл

@ -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.