scsi: bfa: Remove further unnecessary struct declaration

Message ID 20240217191409.6260-1-simone.p.weiss@posteo.com
State New
Headers
Series scsi: bfa: Remove further unnecessary struct declaration |

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!
  

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