* [PATCH] [MEGARAID_SAS]: Remove needless memset in megasas_init
@ 2007-08-08 23:14 Arnaldo Carvalho de Melo
0 siblings, 0 replies; only message in thread
From: Arnaldo Carvalho de Melo @ 2007-08-08 23:14 UTC (permalink / raw)
To: megaraidlinux; +Cc: linux-scsi, James Bottomley
megasas_mgmt_info is a static variable, so goes to .bss thus zeroed at boot.
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
---
drivers/scsi/megaraid/megaraid_sas.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/megaraid/megaraid_sas.c b/drivers/scsi/megaraid/megaraid_sas.c
index ebb948c..59099da 100644
--- a/drivers/scsi/megaraid/megaraid_sas.c
+++ b/drivers/scsi/megaraid/megaraid_sas.c
@@ -3033,8 +3033,6 @@ static int __init megasas_init(void)
printk(KERN_INFO "megasas: %s %s\n", MEGASAS_VERSION,
MEGASAS_EXT_VERSION);
- memset(&megasas_mgmt_info, 0, sizeof(megasas_mgmt_info));
-
/*
* Register character device node
*/
--
1.5.2.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2007-08-08 23:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-08 23:14 [PATCH] [MEGARAID_SAS]: Remove needless memset in megasas_init Arnaldo Carvalho de Melo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).