Skip to contentSkip to conversation

Char: isicom, remove unneeded memset

PATCH In review Jiri Slaby 2 participants 2 messages Oct 19, 2006 Char and misc drivers

lore
Share & tools
lore

Jiri Slaby

author
#0 lore raw

PATCH 4/7 Char: isicom, remove unneeded memset

isicom, remove unneeded memset

Memsetting of global static variables is not needed in the init code.

---
commit a2d2f722e0d805a57d7835e715c520ca7a7580a7
tree 5bf84122a37ff113797c54f122f0144b3a302237
parent a11b72a2838aa7dfee930168faeebf25a23c70d4
author Jiri Slaby <[email protected]> Thu, 19 Oct 2006 19:28:14 +0200 committer Jiri Slaby <[email protected]> Thu, 19 Oct 2006 19:28:14 +0200

 drivers/char/isicom.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/char/isicom.c +0 -1
index 8cd6cc2..1b9ef44 100644
@@ -1835,7 +1835,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];