scsi: bfa: Remove additional unnecessary struct declarations
authorSimone Weiß <simone.p.weiss@posteo.com>
Sat, 17 Feb 2024 19:14:09 +0000 (19:14 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 27 Feb 2024 02:16:33 +0000 (21:16 -0500)
Commit c3b0d087763f ("scsi: bfa: Remove unnecessary struct declarations")
removed duplicate struct declarations for struct bfa_fcs_s and struct
bfa_fcs_fabric_s.

However, 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.

Remove them.

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Link: https://lore.kernel.org/r/20240217191409.6260-1-simone.p.weiss@posteo.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/bfa/bfa_fcs.h

index c1baf5cd0d3e8470c8d71fca588008a3ef26bc1e..4d8bd9f932f6e0d9eaeee47c2e01ba6ca2fa2a65 100644 (file)
@@ -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