OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c99b9b2
)
scsi: 53c700: Remove redundant assignment to pointer SCp
author
Colin Ian King
<colin.i.king@gmail.com>
Sun, 23 Jan 2022 17:55:30 +0000
(17:55 +0000)
committer
Martin K. Petersen
<martin.petersen@oracle.com>
Tue, 25 Jan 2022 05:08:18 +0000
(
00:08
-0500)
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>
drivers/scsi/53c700.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/53c700.c
b/drivers/scsi/53c700.c
index
3ad3eba
..
ad4972c
100644
(file)
--- 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);