linux/drivers/message/fusion
Alexander Vorwerk ce781c3f05 scsi: message: fusion: Remove unused variable retval
The following warning showed up when compiling with W=1.

drivers/message/fusion/mptctl.c: In function ‘mptctl_hp_hostinfo’:
drivers/message/fusion/mptctl.c:2337:8: warning: variable ‘retval’ set but not used [-Wunused-but-set-variable]
  int   retval;

Fixing by removing the variable.

Link: https://lore.kernel.org/r/20220317030325.30526-1-alexander.vorwerk@stud.uni-goettingen.de
Signed-off-by: Alexander Vorwerk <alexander.vorwerk@stud.uni-goettingen.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2022-04-25 23:26:32 -04:00
..
lsi scsi: message: mptlan: Replace one-element array with flexible-array member 2021-04-01 23:03:10 -04:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mptbase.c scsi: message: fusion: Remove redundant variable dmp 2022-04-06 22:28:07 -04:00
mptbase.h scsi: message: fusion: Remove unused mpt_pci driver .probe() 'id' parameter 2021-10-12 17:37:15 -05:00
mptctl.c scsi: message: fusion: Remove unused variable retval 2022-04-25 23:26:32 -04:00
mptctl.h
mptdebug.h scsi: message: fusion: Avoid -Wempty-body warnings 2021-04-01 22:55:25 -04:00
mptfc.c scsi: message: fusion: Switch to attribute groups 2021-10-16 21:45:53 -04:00
mptlan.c scsi: message: fusion: Remove usage of the deprecated "pci-dma-compat.h" API 2022-01-10 10:33:51 -05:00
mptlan.h scsi: fusion: fix if-statement empty body warning 2020-03-11 23:07:57 -04:00
mptsas.c scsi: message: fusion: Use GFP_KERNEL instead of GFP_ATOMIC in non-atomic context 2022-02-27 21:21:21 -05:00
mptsas.h scsi: message: fusion: Remove in_interrupt() usage in mptsas_cleanup_fw_event_q() 2020-12-01 00:03:54 -05:00
mptscsih.c scsi: message: fusion: Switch to attribute groups 2021-10-16 21:45:53 -04:00
mptscsih.h scsi: message: fusion: Switch to attribute groups 2021-10-16 21:45:53 -04:00
mptspi.c scsi: message: fusion: Use GFP_KERNEL 2022-02-11 17:09:27 -05:00