: Remove needless memset in megasas_init
Subsystems (2)
PATCH 1/1 : Remove needless memset in megasas_init
megasas_mgmt_info is a static variable, so goes to .bss thus zeroed at boot.
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- drivers/scsi/megaraid/megaraid_sas.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/scsi/megaraid/megaraid_sas.c +0 -2
@@ -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 */
Signature · 1 line
1.5.2.2