linux/drivers/message/fusion
Colin Ian King 231159f334 scsi: message: fusion: Remove redundant variable iocnum
Variable iocnum is assigned a value that is never read, the assignment and
hence the variable are redundant can be removed. Also update the comment to
reflect the correct name of the variable being updated.

Cleans up clang-scan warning:

drivers/message/fusion/mptctl.c:641:8: warning: Although the value stored
to 'iocnum' is used in the enclosing expression, the value is never
actually read from 'iocnum' [deadcode.DeadStores]

Link: https://lore.kernel.org/r/20220805113214.2339022-1-colin.i.king@gmail.com
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2022-08-31 23:39:57 -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 redundant variable iocnum 2022-08-31 23:39:57 -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: Drop redundant "the" 2022-06-21 21:34:52 -04:00