Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Colin Ian King and committed by
Martin K. Petersen
9bd8e413 6c19ecf4

-1
-1
drivers/scsi/FlashPoint.c
··· 2631 2631 WRW_HARPOON((port + hp_fiforead), (unsigned short)0x00); 2632 2632 2633 2633 our_target = (unsigned char)(RD_HARPOON(port + hp_select_id) >> 4); 2634 - currTar_Info = &FPT_sccbMgrTbl[p_card][our_target]; 2635 2634 2636 2635 msgRetryCount = 0; 2637 2636 do {