2021-03-25 06:50:44

by Jiabing Wan

[permalink] [raw]
Subject: [PATCH] include: scsi: scsi_host_cmd_pool is declared twice

struct scsi_host_cmd_pool has been declared. Remove the duplicate.

Signed-off-by: Wan Jiabing <[email protected]>
---
include/scsi/scsi_host.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/include/scsi/scsi_host.h b/include/scsi/scsi_host.h
index e30fd963b97d..5fa8f6a78d05 100644
--- a/include/scsi/scsi_host.h
+++ b/include/scsi/scsi_host.h
@@ -19,7 +19,6 @@ struct scsi_device;
struct scsi_host_cmd_pool;
struct scsi_target;
struct Scsi_Host;
-struct scsi_host_cmd_pool;
struct scsi_transport_template;


--
2.25.1


2021-04-02 03:56:33

by Martin K. Petersen

[permalink] [raw]
Subject: Re: [PATCH] include: scsi: scsi_host_cmd_pool is declared twice

On Thu, 25 Mar 2021 14:46:31 +0800, Wan Jiabing wrote:

> struct scsi_host_cmd_pool has been declared. Remove the duplicate.

Applied to 5.13/scsi-queue, thanks!

[1/1] include: scsi: scsi_host_cmd_pool is declared twice
https://git.kernel.org/mkp/scsi/c/6bfe9855daa3

--
Martin K. Petersen Oracle Linux Engineering