summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/NCR5380.h
diff options
context:
space:
mode:
authorFinn Thain <fthain@telegraphics.com.au>2016-01-03 00:05:57 -0500
committerMartin K. Petersen <martin.petersen@oracle.com>2016-01-06 21:43:07 -0500
commit5299b3caf525c5a6cdebbe162733c8ff1692c4d0 (patch)
tree225a296fa8990ceb752722e5280d1f31d6395520 /drivers/scsi/NCR5380.h
parent9903fa914aece320599e74b39ae6cf1bebe1a796 (diff)
ncr5380: Remove redundant volatile qualifiers
The hostdata struct is now protected by a spin lock so the volatile qualifiers are redundant. Remove them. Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Reviewed-by: Hannes Reinecke <hare@suse.com> Tested-by: Ondrej Zary <linux@rainbow-software.org> Tested-by: Michael Schmitz <schmitzmic@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/NCR5380.h')
-rw-r--r--drivers/scsi/NCR5380.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/scsi/NCR5380.h b/drivers/scsi/NCR5380.h
index 3cfbd3dd9436..87c2f2104e68 100644
--- a/drivers/scsi/NCR5380.h
+++ b/drivers/scsi/NCR5380.h
@@ -248,14 +248,14 @@ struct NCR5380_hostdata {
248 NCR5380_implementation_fields; /* implementation specific */ 248 NCR5380_implementation_fields; /* implementation specific */
249 struct Scsi_Host *host; /* Host backpointer */ 249 struct Scsi_Host *host; /* Host backpointer */
250 unsigned char id_mask, id_higher_mask; /* 1 << id, all bits greater */ 250 unsigned char id_mask, id_higher_mask; /* 1 << id, all bits greater */
251 volatile unsigned char busy[8]; /* index = target, bit = lun */ 251 unsigned char busy[8]; /* index = target, bit = lun */
252#if defined(REAL_DMA) || defined(REAL_DMA_POLL) 252#if defined(REAL_DMA) || defined(REAL_DMA_POLL)
253 volatile int dma_len; /* requested length of DMA */ 253 int dma_len; /* requested length of DMA */
254#endif 254#endif
255 volatile unsigned char last_message; /* last message OUT */ 255 unsigned char last_message; /* last message OUT */
256 volatile struct scsi_cmnd *connected; /* currently connected command */ 256 struct scsi_cmnd *connected; /* currently connected cmnd */
257 volatile struct scsi_cmnd *issue_queue; /* waiting to be issued */ 257 struct scsi_cmnd *issue_queue; /* waiting to be issued */
258 volatile struct scsi_cmnd *disconnected_queue; /* waiting for reconnect */ 258 struct scsi_cmnd *disconnected_queue; /* waiting for reconnect */
259 spinlock_t lock; /* protects this struct */ 259 spinlock_t lock; /* protects this struct */
260 int flags; 260 int flags;
261 struct scsi_eh_save ses; 261 struct scsi_eh_save ses;