scsi: message: fusion: remove variable 'where'
Subsystems (3)
PATCH 1/1 scsi: message: fusion: remove variable 'where'
Variable where is just being incremented and it's never used anywhere else. The variable and the increment are redundant so remove it.
Signed-off-by Colin Ian King <[email protected]>
--- drivers/message/fusion/mptctl.c | 2 -- 1 file changed, 2 deletions(-)
drivers/message/fusion/mptctl.c +0 -2
@@ -2879,7 +2879,6 @@ static struct mpt_pci_driver mptctl_driver = {static int __init mptctl_init (void ) {int err; -int where =1 ;show_mptmod_ver (my_NAME, my_VERSION);
@@ -2898,7 +2897,6 @@ static int __init mptctl_init(void)/* * Install our handler */ - ++where; mptctl_id =mpt_register (mptctl_reply,MPTCTL_DRIVER ,"mptctl_reply" );if (!mptctl_id || mptctl_id >=MPT_MAX_PROTOCOL_DRIVERS ) {
Signature · 1 line
2.37.3
Martin K. Petersen
AppliedColin,
Quoted 2 lines
Variable where is just being incremented and it's never used anywhere else. The variable and the increment are redundant so remove it.
Applied to 6.2/scsi-staging, thanks!
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering
Martin K. Petersen
AppliedQuoted 5 lines · Colin Ian King
Variable where is just being incremented and it's never used anywhere else. The variable and the increment are redundant so remove it.
Applied to 6.2/scsi-queue, thanks!
[1/1] scsi: message: fusion: remove variable 'where'
https://git.kernel.org/mkp/scsi/c/c7cbaab2d464
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering