linux_dsm_epyc7002/drivers/scsi/megaraid
Qian Cai e5460f084b scsi: megaraid_sas: Fix a compilation warning
The commit de516379e8 ("scsi: megaraid_sas: changes to function
prototypes") introduced a comilation warning due to it changed the function
prototype of read_fw_status_reg() to take an instance pointer instead, but
forgot to remove an unused variable.

drivers/scsi/megaraid/megaraid_sas_fusion.c: In function
'megasas_fusion_update_can_queue':
drivers/scsi/megaraid/megaraid_sas_fusion.c:326:39: warning: variable
'reg_set' set but not used [-Wunused-but-set-variable]
  struct megasas_register_set __iomem *reg_set;
                                       ^~~~~~~
Fixes: de516379e8 ("scsi: megaraid_sas: changes to function prototypes")
Signed-off-by: Qian Cai <cai@lca.pw>
Acked-by: Sumit Saxena <sumit.saxena@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2019-08-07 21:29:49 -04:00
..
Kconfig.megaraid
Makefile
mbox_defs.h
mega_common.h
megaraid_ioctl.h
megaraid_mbox.c
megaraid_mbox.h
megaraid_mm.c
megaraid_mm.h
megaraid_sas_base.c SCSI fixes on 20190720 2019-07-20 10:04:58 -07:00
megaraid_sas_debugfs.c
megaraid_sas_fp.c
megaraid_sas_fusion.c scsi: megaraid_sas: Fix a compilation warning 2019-08-07 21:29:49 -04:00
megaraid_sas_fusion.h
megaraid_sas.h SCSI fixes on 20190720 2019-07-20 10:04:58 -07:00