diff options
author | Christoph Hellwig <hch@lst.de> | 2016-07-11 06:34:55 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-07-14 04:33:23 +0200 |
commit | 68350a886e7df0269a14af888dd68be2ba9203ca (patch) | |
tree | fba17d8d095336f22ecdd435a3956b8961c3c009 /include | |
parent | megaraid_sas: Do not fire MR_DCMD_PD_LIST_QUERY to controllers which do not s... (diff) | |
download | linux-68350a886e7df0269a14af888dd68be2ba9203ca.tar.xz 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 'include')
-rw-r--r-- | include/scsi/scsi_device.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/scsi/scsi_device.h b/include/scsi/scsi_device.h index a6c346df290d..8a9563144890 100644 --- a/include/scsi/scsi_device.h +++ b/include/scsi/scsi_device.h @@ -94,7 +94,6 @@ struct scsi_device { spinlock_t list_lock; struct list_head cmd_list; /* queue of in use SCSI Command structures */ struct list_head starved_entry; - struct scsi_cmnd *current_cmnd; /* currently active command */ unsigned short queue_depth; /* How deep of a queue we want */ unsigned short max_queue_depth; /* max queue depth */ unsigned short last_queue_full_depth; /* These two are used by */ |