Skip to contentSkip to conversation

scsi: bfa: Remove further unnecessary struct declaration

PATCH Applied [email protected] 2 participants 3 messages Feb 17, 2024 – Mar 10, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scsi: bfa: Remove further unnecessary struct declaration

From: Simone Weiß <[email protected]>

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.

---
 drivers/scsi/bfa/bfa_fcs.h | 2 --
 1 file changed, 2 deletions(-)
drivers/scsi/bfa/bfa_fcs.h +0 -2
index c1baf5cd0d3e..4d8bd9f932f6 100644
@@ -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
Signature · 1 line
2.39.2
#1 lore raw

Simone,

Quoted 3 lines

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!

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering
#2 lore raw
In reply to [email protected]
Quoted 8 lines · On Sat, 17 Feb 2024 19:14:09 +0000, [email protected] 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
Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering