mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
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>
This commit is contained in:
parent
6c19ecf4ad
commit
9bd8e41358
@ -2631,7 +2631,6 @@ static void FPT_sres(u32 port, unsigned char p_card,
|
|||||||
WRW_HARPOON((port + hp_fiforead), (unsigned short)0x00);
|
WRW_HARPOON((port + hp_fiforead), (unsigned short)0x00);
|
||||||
|
|
||||||
our_target = (unsigned char)(RD_HARPOON(port + hp_select_id) >> 4);
|
our_target = (unsigned char)(RD_HARPOON(port + hp_select_id) >> 4);
|
||||||
currTar_Info = &FPT_sccbMgrTbl[p_card][our_target];
|
|
||||||
|
|
||||||
msgRetryCount = 0;
|
msgRetryCount = 0;
|
||||||
do {
|
do {
|
||||||
|
Loading…
Reference in New Issue
Block a user