summaryrefslogtreecommitdiffstats
path: root/include/scsi/scsi_host.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-01-02 21:55:26 +0300
committerJens Axboe <axboe@fb.com>2017-01-27 15:08:35 -0700
commite9c787e65c0c36529745be47d490d998b4b6e589 (patch)
tree6306a74b913ad810f8583a20bac911ff1ca516f5 /include/scsi/scsi_host.h
parentd48777a633d6fa7ccde0f0e6509f0c01fbfc5299 (diff)
downloadlinux-e9c787e65c0c36529745be47d490d998b4b6e589.tar.gz
linux-e9c787e65c0c36529745be47d490d998b4b6e589.tar.bz2
linux-e9c787e65c0c36529745be47d490d998b4b6e589.zip
scsi: allocate scsi_cmnd structures as part of struct request
Rely on the new block layer functionality to allocate additional driver specific data behind struct request instead of implementing it in SCSI itѕelf. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Martin K. Petersen <martin.petersen@oracle.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include/scsi/scsi_host.h')
-rw-r--r--include/scsi/scsi_host.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/scsi/scsi_host.h b/include/scsi/scsi_host.h
index f4964d7db313..3cd8c3bec638 100644
--- a/include/scsi/scsi_host.h
+++ b/include/scsi/scsi_host.h
@@ -551,9 +551,6 @@ struct Scsi_Host {
struct list_head __devices;
struct list_head __targets;
- struct scsi_host_cmd_pool *cmd_pool;
- spinlock_t free_list_lock;
- struct list_head free_list; /* backup store of cmd structs */
struct list_head starved_list;
spinlock_t default_lock;