summaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2022-01-23 18:55:30 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2022-01-25 06:08:18 +0100
commitefd7bb1d75cf6808d67c869a29245c88a990bdea (patch)
tree27175a774a89cacbc6c7207281c0fba891c305b1 /drivers/scsi
parentscsi: ufs: Treat link loss as fatal error (diff)
downloadlinux-efd7bb1d75cf6808d67c869a29245c88a990bdea.tar.xz
linux-efd7bb1d75cf6808d67c869a29245c88a990bdea.zip
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>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/53c700.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/53c700.c b/drivers/scsi/53c700.c
index 3ad3ebaca8e9..ad4972c0fc53 100644
--- a/drivers/scsi/53c700.c
+++ b/drivers/scsi/53c700.c
@@ -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);