aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2006-12-08 05:38:51 -0500
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-08 11:28:57 -0500
commit8acef8fcab2d824c1c445857f457fb04facc765d (patch)
treeff0145140ac367603fcbf8a175c4086cdc63bcb2 /drivers/char
parent18234f88bc27473f15293a03c83bcb53da9018b4 (diff)
[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>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/isicom.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/isicom.c b/drivers/char/isicom.c
index 51fa317e695c..c5cb2a9e68ba 100644
--- a/drivers/char/isicom.c
+++ b/drivers/char/isicom.c
@@ -1836,7 +1836,6 @@ static int __init isicom_init(void)
1836 struct isi_port *port; 1836 struct isi_port *port;
1837 1837
1838 card = 0; 1838 card = 0;
1839 memset(isi_ports, 0, sizeof(isi_ports));
1840 1839
1841 for(idx = 0; idx < BOARD_COUNT; idx++) { 1840 for(idx = 0; idx < BOARD_COUNT; idx++) {
1842 port = &isi_ports[idx * 16]; 1841 port = &isi_ports[idx * 16];