scsi: 53c700: remove redundant assignment to pointer SCp
PATCH 1/1 scsi: 53c700: remove redundant assignment to pointer SCp
Pointer SCp is being re-assigned the same value that it was initialized to a few lines earlier, the assignment is redundant and can be removed.
Signed-off-by Colin Ian King <[email protected]>
--- drivers/scsi/53c700.c | 1 - 1 file changed, 1 deletion(-)
drivers/scsi/53c700.c +0 -1
@@ -1507,7 +1507,6 @@ NCR_700_intr(int irq, void *dev_id)struct scsi_cmnd *SCp = hostdata->cmd; handled =1 ; - SCp = hostdata->cmd;if (istat &SCSI_INT_PENDING ) {udelay (10 );
Signature · 1 line
2.33.1
Martin K. Petersen
AppliedQuoted 4 lines · Colin Ian King
Pointer SCp is being re-assigned the same value that it was initialized to a few lines earlier, the assignment is redundant and can be removed.
Applied to 5.17/scsi-fixes, thanks!
[1/1] scsi: 53c700: remove redundant assignment to pointer SCp
https://git.kernel.org/mkp/scsi/c/efd7bb1d75cf
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering