summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/53c700.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-07-11 13:34:55 +0900
committerMartin K. Petersen <martin.petersen@oracle.com>2016-07-13 22:33:23 -0400
commit68350a886e7df0269a14af888dd68be2ba9203ca (patch)
treefba17d8d095336f22ecdd435a3956b8961c3c009 /drivers/scsi/53c700.h
parentd9083160c2f6ee456ea867ea2279c1fc6124e56f (diff)
downloadlinux-68350a886e7df0269a14af888dd68be2ba9203ca.tar.gz
linux-68350a886e7df0269a14af888dd68be2ba9203ca.tar.bz2
linux-68350a886e7df0269a14af888dd68be2ba9203ca.zip
scsi: remove current_cmnd field from struct scsi_device
The field is only used by the 53c700 driver, so move it into the driver-private device data instead of having it in the common structure. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Tomas Henzl <thenzl@redhat.com> Reviewed-by: Ewan D. Milne <emilne@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/53c700.h')
-rw-r--r--drivers/scsi/53c700.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/53c700.h b/drivers/scsi/53c700.h
index c893a5d3ff8d..f34c916b95bc 100644
--- a/drivers/scsi/53c700.h
+++ b/drivers/scsi/53c700.h
@@ -82,6 +82,7 @@ struct NCR_700_Device_Parameters {
* cmnd[1], this could be in static storage */
unsigned char cmnd[MAX_COMMAND_SIZE];
__u8 depth;
+ struct scsi_cmnd *current_cmnd; /* currently active command */
};