diff options
author | Hannes Reinecke <hare@suse.de> | 2020-02-28 08:53:18 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-02-29 02:54:55 +0100 |
commit | c5a9707672fe22865d90fc04ac2fbc4f812666f3 (patch) | |
tree | bb385a935b053d90b51fcf0d6d90ab7e426d2366 /include/scsi/scsi_device.h | |
parent | scsi: aacraid: use scsi_host_busy_iter() in get_num_of_incomplete_fibs() (diff) | |
download | linux-c5a9707672fe22865d90fc04ac2fbc4f812666f3.tar.xz linux-c5a9707672fe22865d90fc04ac2fbc4f812666f3.zip |
scsi: core: Remove cmd_list functionality
Remove cmd_list functionality; no users left. With that the
scsi_put_command() becomes empty, so remove that one, too.
Link: https://lore.kernel.org/r/20200228075318.91255-14-hare@suse.de
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart van Assche <bvanassche@acm.org>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/scsi/scsi_device.h')
-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 f8312a3e5b42..f146a4557787 100644 --- a/include/scsi/scsi_device.h +++ b/include/scsi/scsi_device.h @@ -110,7 +110,6 @@ struct scsi_device { atomic_t device_blocked; /* Device returned QUEUE_FULL. */ spinlock_t list_lock; - struct list_head cmd_list; /* queue of in use SCSI Command structures */ struct list_head starved_entry; unsigned short queue_depth; /* How deep of a queue we want */ unsigned short max_queue_depth; /* max queue depth */ |