
On 12/01/2022 03:28, chenxiang wrote: "... member scsi_host_template.cmd_pool" is more concise From: Xiang Chen <chenxiang66@hisilicon.com>
The member cmd_pool in structure scsi_host_template is not used, so remove it.
As before, it's useful to mention when it was last used, if ever. Thanks, John
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com> --- include/scsi/scsi_host.h | 3 --- 1 file changed, 3 deletions(-)
diff --git a/include/scsi/scsi_host.h b/include/scsi/scsi_host.h index ebe059badba0..21eae43701c0 100644 --- a/include/scsi/scsi_host.h +++ b/include/scsi/scsi_host.h @@ -16,7 +16,6 @@ struct completion; struct module; struct scsi_cmnd; struct scsi_device; -struct scsi_host_cmd_pool; struct scsi_target; struct Scsi_Host; struct scsi_transport_template; @@ -493,8 +492,6 @@ struct scsi_host_template { */ u64 vendor_id;
- struct scsi_host_cmd_pool *cmd_pool; - /* Delay for runtime autosuspend */ int rpm_autosuspend_delay; };