2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/message/fusion
Colin Ian King be7fc734b6 scsi: message: fusion: Remove redundant pointer 'hd'
The pointer 'hd' is being assigned a value that is not being read
later. The variable is redundant and can be removed.

Cleans up clang scan build warning:

warning: Although the value stored to 'hd' is used in the enclosing
expression, the value is never actually read from 'hd'
[deadcode.DeadStores]

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20240118122039.2541425-1-colin.i.king@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2024-01-23 21:39:21 -05:00
..
lsi scsi: message: mptlan: Replace one-element array with flexible-array member 2021-04-01 23:03:10 -04:00
Kconfig scsi: message: fusion: Add HAS_IOPORT dependencies 2023-05-31 19:59:26 -04: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: Replace all non-returning strlcpy() with strscpy() 2023-05-31 18:03:33 -04:00
mptbase.h Objtool changes for v6.4: 2023-04-28 14:02:54 -07:00
mptctl.c scsi: message: fusion: Replace deprecated strncpy() with strscpy_pad() 2023-10-09 21:29:08 -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: Remove redundant pointer 'hd' 2024-01-23 21:39:21 -05:00
mptlan.c scsi: message: mptlan: Fix use after free bug in mptlan_remove() due to race condition 2023-03-24 20:38:50 -04:00
mptlan.h scsi: fusion: fix if-statement empty body warning 2020-03-11 23:07:57 -04:00
mptsas.c scsi: message: fusion: Replace deprecated strncpy() with strscpy() 2023-10-09 21:31:19 -04: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: Correct definitions for mptscsih_dev_reset() 2023-10-13 14:23:14 -04:00
mptscsih.h scsi: message: fusion: Correct definitions for mptscsih_dev_reset() 2023-10-13 14:23:14 -04:00
mptspi.c scsi: message: fusion: Declare SCSI host template members const 2023-03-24 19:19:19 -04:00