[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
1 changed files with 0 additions and 1 deletions
|
@ -1836,7 +1836,6 @@ static int __init isicom_init(void)
|
||||||
struct isi_port *port;
|
struct isi_port *port;
|
||||||
|
|
||||||
card = 0;
|
card = 0;
|
||||||
memset(isi_ports, 0, sizeof(isi_ports));
|
|
||||||
|
|
||||||
for(idx = 0; idx < BOARD_COUNT; idx++) {
|
for(idx = 0; idx < BOARD_COUNT; idx++) {
|
||||||
port = &isi_ports[idx * 16];
|
port = &isi_ports[idx * 16];
|
||||||
|
|
Loading…
Add table
Reference in a new issue