Skip to content

Commit efd7bb1

Browse files
ColinIanKingmartinkpetersen
authored andcommitted
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>
1 parent c99b9b2 commit efd7bb1

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/scsi/53c700.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1507,7 +1507,6 @@ NCR_700_intr(int irq, void *dev_id)
15071507
struct scsi_cmnd *SCp = hostdata->cmd;
15081508

15091509
handled = 1;
1510-
SCp = hostdata->cmd;
15111510

15121511
if(istat & SCSI_INT_PENDING) {
15131512
udelay(10);

0 commit comments

Comments
 (0)