All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] scsi: isci/phy.h: Remove unnecessary struct declaration
@ 2021-04-06 10:59 Wan Jiabing
  2021-04-16  2:51 ` Martin K. Petersen
  0 siblings, 1 reply; 2+ messages in thread
From: Wan Jiabing @ 2021-04-06 10:59 UTC (permalink / raw)
  To: Artur Paszkiewicz, James E.J. Bottomley, Martin K. Petersen,
	linux-scsi, linux-kernel
  Cc: kael_w, Wan Jiabing

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

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] scsi: isci/phy.h: Remove unnecessary struct declaration
  2021-04-06 10:59 [PATCH] scsi: isci/phy.h: Remove unnecessary struct declaration Wan Jiabing
@ 2021-04-16  2:51 ` Martin K. Petersen
  0 siblings, 0 replies; 2+ messages in thread
From: Martin K. Petersen @ 2021-04-16  2:51 UTC (permalink / raw)
  To: linux-kernel, linux-scsi, Artur Paszkiewicz, Wan Jiabing,
	James E.J. Bottomley
  Cc: Martin K . Petersen, kael_w

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-16  2:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-06 10:59 [PATCH] scsi: isci/phy.h: Remove unnecessary struct declaration Wan Jiabing
2021-04-16  2:51 ` Martin K. Petersen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.