Skip to contentSkip to conversation

scsi: bfa: Remove unnecessary struct declaration

PATCH Applied Wan Jiabing 2 participants 2 messages Apr 1, 2021 – Apr 13, 2021

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

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

struct bfa_fcs_s is declared twice. One is declared at 50th line. Remove the duplicate.
struct bfa_fcs_fabric_s is defined at 175th line. Remove unnecessary declaration.

---
 drivers/scsi/bfa/bfa_fcs.h | 3 ---
 1 file changed, 3 deletions(-)
drivers/scsi/bfa/bfa_fcs.h +0 -3
index 3e117fed95c9..c1baf5cd0d3e 100644
@@ -217,9 +217,6 @@ struct bfa_vf_event_s {
 	u32        undefined;
 };
 
-struct bfa_fcs_s;
-struct bfa_fcs_fabric_s;
-
 /*
  * @todo : need to move to a global config file.
  * Maximum Rports supported per port (physical/logical).
Signature · 1 line
2.25.1
#1 lore raw
Quoted 4 lines · Wan Jiabing

struct bfa_fcs_s is declared twice. One is declared at 50th line. Remove the duplicate.
struct bfa_fcs_fabric_s is defined at 175th line. Remove unnecessary declaration.

Applied to 5.13/scsi-queue, thanks!

[1/1] scsi: bfa: Remove unnecessary struct declaration

      https://git.kernel.org/mkp/scsi/c/c3b0d087763f
Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering