[PATCH] scsi: bfa: Remove further unnecessary struct declaration

simone.p.weiss@posteo.com posted 1 patch 1 year, 11 months ago
drivers/scsi/bfa/bfa_fcs.h | 2 --
1 file changed, 2 deletions(-)
[PATCH] scsi: bfa: Remove further unnecessary struct declaration
Posted by simone.p.weiss@posteo.com 1 year, 11 months ago
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(-)

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
-- 
2.39.2

Re: [PATCH] scsi: bfa: Remove further unnecessary struct declaration
Posted by Martin K. Petersen 1 year, 11 months ago
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

-- 
Martin K. Petersen	Oracle Linux Engineering
Re: [PATCH] scsi: bfa: Remove further unnecessary struct declaration
Posted by Martin K. Petersen 1 year, 11 months ago
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	Oracle Linux Engineering