summaryrefslogtreecommitdiff
path: root/drivers/scsi/FlashPoint.c
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2024-04-06 18:50:29 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2024-04-09 05:01:19 +0300
commit9bd8e41358a52ff2be312a0ab7bd6426ba4c6fe3 (patch)
tree314b24b1ded4ea933d44bbb85a20e8a4ec5be29c /drivers/scsi/FlashPoint.c
parent6c19ecf4ad1dce85640355210579c34cc4790013 (diff)
downloadlinux-9bd8e41358a52ff2be312a0ab7bd6426ba4c6fe3.tar.xz
scsi: FlashPoint: Remove redundant assignment to pointer currTar_Info
Pointer currTar_Info is being assigned a value that is never read, it is being re-assigned a few lines later in the start of a following do-while loop. The assignment is redundant and can be removed. Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Link: https://lore.kernel.org/r/20240406155029.2593439-1-colin.i.king@gmail.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/FlashPoint.c')
-rw-r--r--drivers/scsi/FlashPoint.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/FlashPoint.c b/drivers/scsi/FlashPoint.c
index 3d9c56ac8224..9e77b8e1ea7c 100644
--- a/drivers/scsi/FlashPoint.c
+++ b/drivers/scsi/FlashPoint.c
@@ -2631,7 +2631,6 @@ static void FPT_sres(u32 port, unsigned char p_card,
WRW_HARPOON((port + hp_fiforead), (unsigned short)0x00);
our_target = (unsigned char)(RD_HARPOON(port + hp_select_id) >> 4);
- currTar_Info = &FPT_sccbMgrTbl[p_card][our_target];
msgRetryCount = 0;
do {