mirror of https://gitee.com/openkylin/linux.git
[PATCH] Char: isicom, remove unneeded memset
Memsetting of global static variables is not needed in the init code. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Acked-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
18234f88bc
commit
8acef8fcab
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue