2024-02-17 19:15:18

by simone.p.weiss

[permalink] [raw]
Subject: [PATCH] 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.

Signed-off-by: Simone Weiß <[email protected]>
---
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



2024-02-27 02:13:22

by Martin K. Petersen

[permalink] [raw]
Subject: Re: [PATCH] scsi: bfa: Remove further unnecessary struct declaration


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

2024-03-10 23:05:25

by Martin K. Petersen

[permalink] [raw]
Subject: Re: [PATCH] scsi: bfa: Remove further unnecessary struct declaration

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

--
Martin K. Petersen Oracle Linux Engineering