diff options
author | Jason Wang <wangborong@cdjrlc.com> | 2022-07-23 17:16:20 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-07-26 22:15:47 -0400 |
commit | 68126eeb6df6cb53aae4dc450ec20792e1819861 (patch) | |
tree | 776671496c289c381a81689fa8e700405b444ae3 /drivers/scsi/megaraid | |
parent | 241b79b1e964bed8cda8892ac0448721bfe4b55a (diff) | |
download | linux-68126eeb6df6cb53aae4dc450ec20792e1819861.tar.gz linux-68126eeb6df6cb53aae4dc450ec20792e1819861.tar.bz2 linux-68126eeb6df6cb53aae4dc450ec20792e1819861.zip |
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/20220723091620.5463-1-wangborong@cdjrlc.com
Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/megaraid')
-rw-r--r-- | drivers/scsi/megaraid/megaraid_mbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/megaraid/megaraid_mbox.c b/drivers/scsi/megaraid/megaraid_mbox.c index 2a339d4a7e9d..157c3bdb50be 100644 --- a/drivers/scsi/megaraid/megaraid_mbox.c +++ b/drivers/scsi/megaraid/megaraid_mbox.c @@ -181,7 +181,7 @@ MODULE_PARM_DESC(cmd_per_lun, * This would result in non-disk devices being skipped during driver load * time. These can be later added though, using /proc/scsi/scsi */ -static unsigned int megaraid_fast_load = 0; +static unsigned int megaraid_fast_load; module_param_named(fast_load, megaraid_fast_load, int, 0); MODULE_PARM_DESC(fast_load, "Faster loading of the driver, skips physical devices! (default=0)"); |