2021-04-06 20:18:06

by Jiabing Wan

[permalink] [raw]
Subject: [PATCH] scsi: isci/phy.h: Remove unnecessary struct declaration

struct sci_phy_proto is defined at 142nd line.
The declaration here is unnecessary. Remove it.

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

diff --git a/drivers/scsi/isci/phy.h b/drivers/scsi/isci/phy.h
index 45fecfa36a98..5aaf95b14b2e 100644
--- a/drivers/scsi/isci/phy.h
+++ b/drivers/scsi/isci/phy.h
@@ -447,7 +447,6 @@ void sci_phy_get_attached_sas_address(
struct isci_phy *iphy,
struct sci_sas_address *sas_address);

-struct sci_phy_proto;
void sci_phy_get_protocols(
struct isci_phy *iphy,
struct sci_phy_proto *protocols);
--
2.25.1


2021-04-16 02:54:30

by Martin K. Petersen

[permalink] [raw]
Subject: Re: [PATCH] scsi: isci/phy.h: Remove unnecessary struct declaration

On Tue, 6 Apr 2021 18:59:13 +0800, Wan Jiabing wrote:

> struct sci_phy_proto is defined at 142nd line.
> The declaration here is unnecessary. Remove it.

Applied to 5.13/scsi-queue, thanks!

[1/1] scsi: isci/phy.h: Remove unnecessary struct declaration
https://git.kernel.org/mkp/scsi/c/8350e19658c1

--
Martin K. Petersen Oracle Linux Engineering