diff mbox series

scsi: bfa: Remove further unnecessary struct declaration

Message ID 20240217191409.6260-1-simone.p.weiss@posteo.com (mailing list archive)
State Accepted
Headers show
Series scsi: bfa: Remove further unnecessary struct declaration | expand

Commit Message

simone.p.weiss@posteo.com Feb. 17, 2024, 7:14 p.m. UTC
From: Simone Weiß <simone.p.weiss@posteo.com>

With Commit c3b0d087763f9833
("scsi: bfa: Remove unnecessary struct declarations") duplicated struct
declarions for struct bfa_fcs_s and struct bfa_fcs_fabric_s where already
removed.

There are further duplications:

- struct bfad_vf_s is declared in line 165 remove the duplication in line
  834.
- struct bfad_rport_s is declared in line 394 remove the duplication in
  line 836.

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
---
 drivers/scsi/bfa/bfa_fcs.h | 2 --
 1 file changed, 2 deletions(-)

Comments

Martin K. Petersen Feb. 27, 2024, 2:12 a.m. UTC | #1
Simone,

> With Commit c3b0d087763f9833 ("scsi: bfa: Remove unnecessary struct
> declarations") duplicated struct declarions for struct bfa_fcs_s and
> struct bfa_fcs_fabric_s where already removed.

Applied to 6.9/scsi-staging, thanks!
Martin K. Petersen March 10, 2024, 11:04 p.m. UTC | #2
On Sat, 17 Feb 2024 19:14:09 +0000, simone.p.weiss@posteo.com wrote:

> With Commit c3b0d087763f9833
> ("scsi: bfa: Remove unnecessary struct declarations") duplicated struct
> declarions for struct bfa_fcs_s and struct bfa_fcs_fabric_s where already
> removed.
> 
> There are further duplications:
> 
> [...]

Applied to 6.9/scsi-queue, thanks!

[1/1] scsi: bfa: Remove further unnecessary struct declaration
      https://git.kernel.org/mkp/scsi/c/c121b588a5e4
diff mbox series

Patch

diff --git a/drivers/scsi/bfa/bfa_fcs.h b/drivers/scsi/bfa/bfa_fcs.h
index c1baf5cd0d3e..4d8bd9f932f6 100644
--- a/drivers/scsi/bfa/bfa_fcs.h
+++ b/drivers/scsi/bfa/bfa_fcs.h
@@ -831,9 +831,7 @@  void bfa_fcs_fabric_sm_auth_failed(struct bfa_fcs_fabric_s *fabric,
  */
 
 struct bfad_port_s;
-struct bfad_vf_s;
 struct bfad_vport_s;
-struct bfad_rport_s;
 
 /*
  * lport callbacks