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. Link: https://lore.kernel.org/r/20220123175530.110462-1-colin.i.king@gmail.com Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
committed by
Martin K. Petersen
parent
c99b9b2301
commit
efd7bb1d75
@@ -1507,7 +1507,6 @@ NCR_700_intr(int irq, void *dev_id)
|
|||||||
struct scsi_cmnd *SCp = hostdata->cmd;
|
struct scsi_cmnd *SCp = hostdata->cmd;
|
||||||
|
|
||||||
handled = 1;
|
handled = 1;
|
||||||
SCp = hostdata->cmd;
|
|
||||||
|
|
||||||
if(istat & SCSI_INT_PENDING) {
|
if(istat & SCSI_INT_PENDING) {
|
||||||
udelay(10);
|
udelay(10);
|
||||||
|
|||||||
Reference in New Issue
Block a user