projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df135e3
)
scsi: NCR5380: Remove set but unused variable
author
Finn Thain
<fthain@telegraphics.com.au>
Thu, 7 Mar 2019 21:49:02 +0000
(08:49 +1100)
committer
Martin K. Petersen
<martin.petersen@oracle.com>
Tue, 19 Mar 2019 18:18:46 +0000
(14:18 -0400)
Cc: Michael Schmitz <schmitzmic@gmail.com>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/NCR5380.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/NCR5380.c
b/drivers/scsi/NCR5380.c
index e8677174f91484d19434b655ce2f9a527d4e1692..fe0535affc148fcf932c12fb1bb4e4e2f1829826 100644
(file)
--- a/
drivers/scsi/NCR5380.c
+++ b/
drivers/scsi/NCR5380.c
@@
-272,9
+272,8
@@
mrs[] = {
static void NCR5380_print(struct Scsi_Host *instance)
{
struct NCR5380_hostdata *hostdata = shost_priv(instance);
- unsigned char status,
data,
basr, mr, icr, i;
+ unsigned char status, basr, mr, icr, i;
- data = NCR5380_read(CURRENT_SCSI_DATA_REG);
status = NCR5380_read(STATUS_REG);
mr = NCR5380_read(MODE_REG);
icr = NCR5380_read(INITIATOR_COMMAND_REG);