scsi: bfa: Remove unnecessary struct declarations
authorWan Jiabing <wanjiabing@vivo.com>
Thu, 1 Apr 2021 06:35:34 +0000 (14:35 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 6 Apr 2021 03:44:01 +0000 (23:44 -0400)
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>
drivers/scsi/bfa/bfa_fcs.h

index 3e117fe..c1baf5c 100644 (file)
@@ -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).