scsi: message: fusion: Remove redundant pointer 'hd'
authorColin Ian King <colin.i.king@gmail.com>
Thu, 18 Jan 2024 12:20:39 +0000 (12:20 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 24 Jan 2024 02:39:21 +0000 (21:39 -0500)
commitbe7fc734b658497aa8fe937c8109e0121c1881af
treeb80cfb8145f46aa8e914c011669b2bc562218687
parent9759cdc1bcb8659dae638bd0c3927eac6db9c874
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>
drivers/message/fusion/mptfc.c