summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bfa
diff options
context:
space:
mode:
authorWan Jiabing <wanjiabing@vivo.com>2021-04-01 08:35:34 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2021-04-06 05:44:01 +0200
commitc3b0d087763f983343f153f348ec535784c556b2 (patch)
tree8292f5c8ef3c39d5da5fab4f73f674774953931f /drivers/scsi/bfa
parentscsi: ufs: core: Fix out-of-bounds warnings in ufshcd_exec_raw_upiu_cmd() (diff)
downloadlinux-c3b0d087763f983343f153f348ec535784c556b2.tar.xz
linux-c3b0d087763f983343f153f348ec535784c556b2.zip
scsi: bfa: Remove unnecessary struct declarations
struct bfa_fcs_s is declared twice. First is declared at line 50, remove the duplicate. struct bfa_fcs_fabric_s is defined at line 175, remove unnecessary declaration. Link: https://lore.kernel.org/r/20210401063535.992487-1-wanjiabing@vivo.com Signed-off-by: Wan Jiabing <wanjiabing@vivo.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/bfa')
-rw-r--r--drivers/scsi/bfa/bfa_fcs.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/scsi/bfa/bfa_fcs.h b/drivers/scsi/bfa/bfa_fcs.h
index 3e117fed95c9..c1baf5cd0d3e 100644
--- a/drivers/scsi/bfa/bfa_fcs.h
+++ b/drivers/scsi/bfa/bfa_fcs.h
@@ -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).