linux-stable/drivers/scsi/mvsas
Bart Van Assche 8d1537342f scsi: mvsas: Fix a set-but-not-used warning
This patch fixes the following compiler warning:

drivers/scsi/mvsas/mv_init.c: In function ‘mvs_pci_init’:
drivers/scsi/mvsas/mv_init.c:497:30: warning: variable ‘mpi’ set but not used [-Wunused-but-set-variable]
  497 |         struct mvs_prv_info *mpi;
      |                              ^~~

Link: https://lore.kernel.org/r/20220218195117.25689-36-bvanassche@acm.org
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: John Garry <john.garry@huawei.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2022-02-22 21:11:06 -05:00
..
Kconfig
Makefile
mv_64xx.c
mv_64xx.h
mv_94xx.c
mv_94xx.h
mv_chips.h
mv_defs.h scsi: libsas: Add struct sas_tmf_task 2022-02-19 15:59:35 -05:00
mv_init.c scsi: mvsas: Fix a set-but-not-used warning 2022-02-22 21:11:06 -05:00
mv_sas.c scsi: libsas: Add sas_abort_task() 2022-02-19 15:59:36 -05:00
mv_sas.h scsi: libsas: Add sas_clear_task_set() 2022-02-19 15:59:36 -05:00