Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Colin Ian King and committed by
Martin K. Petersen
efd7bb1d c99b9b23

-1
-1
drivers/scsi/53c700.c
··· 1507 1507 struct scsi_cmnd *SCp = hostdata->cmd; 1508 1508 1509 1509 handled = 1; 1510 - SCp = hostdata->cmd; 1511 1510 1512 1511 if(istat & SCSI_INT_PENDING) { 1513 1512 udelay(10);