diff mbox series

scsi: isci/phy.h: Remove unnecessary struct declaration

Message ID 20210406105913.676746-1-wanjiabing@vivo.com
State New
Headers show
Series scsi: isci/phy.h: Remove unnecessary struct declaration | expand

Commit Message

Wan Jiabing April 6, 2021, 10:59 a.m. UTC
struct sci_phy_proto is defined at 142nd line.
The declaration here is unnecessary. Remove it.

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
---
 drivers/scsi/isci/phy.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Martin K. Petersen April 16, 2021, 2:51 a.m. UTC | #1
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
diff mbox series

Patch

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);