From 8acef8fcab2d824c1c445857f457fb04facc765d Mon Sep 17 00:00:00 2001 From: Jiri Slaby Date: Fri, 8 Dec 2006 02:38:51 -0800 Subject: [PATCH] [PATCH] Char: isicom, remove unneeded memset Memsetting of global static variables is not needed in the init code. Signed-off-by: Jiri Slaby Acked-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- drivers/char/isicom.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/char/isicom.c b/drivers/char/isicom.c index 51fa317e695..c5cb2a9e68b 100644 --- a/drivers/char/isicom.c +++ b/drivers/char/isicom.c @@ -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]; -- 2.20.1