Skip to content

Commit 68126ee

Browse files
Jason Wangmartinkpetersen
authored andcommitted
scsi: megaraid: Remove the static variable initialisation
Initialising global and static variables to 0 is unnecessary. Remove the initialisation. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jason Wang <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 241b79b commit 68126ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/scsi/megaraid/megaraid_mbox.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ MODULE_PARM_DESC(cmd_per_lun,
181181
* This would result in non-disk devices being skipped during driver load
182182
* time. These can be later added though, using /proc/scsi/scsi
183183
*/
184-
static unsigned int megaraid_fast_load = 0;
184+
static unsigned int megaraid_fast_load;
185185
module_param_named(fast_load, megaraid_fast_load, int, 0);
186186
MODULE_PARM_DESC(fast_load,
187187
"Faster loading of the driver, skips physical devices! (default=0)");

0 commit comments

Comments
 (0)