Message ID | 20210401063535.992487-1-wanjiabing@vivo.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | scsi: bfa: Remove unnecessary struct declaration | expand |
On Thu, 1 Apr 2021 14:35:34 +0800, Wan Jiabing wrote: > 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
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).
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. Signed-off-by: Wan Jiabing <wanjiabing@vivo.com> --- drivers/scsi/bfa/bfa_fcs.h | 3 --- 1 file changed, 3 deletions(-)