Skip to content

Commit

Permalink
scsi: 53c700: Remove redundant assignment to pointer SCp
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Colin Ian King authored and Martin K. Petersen committed Jan 25, 2022
1 parent c99b9b2 commit efd7bb1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/scsi/53c700.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit efd7bb1

Please sign in to comment.