Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp254166pxf; Wed, 31 Mar 2021 23:40:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSgJs5bztBRGmrZnSWqYFEpIWx+vqzvFkFdY+l/VvVLYbA9/GmE1SVmzMbIM45CH2KYzcc X-Received: by 2002:a05:6402:354b:: with SMTP id f11mr8029032edd.361.1617259239511; Wed, 31 Mar 2021 23:40:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617259239; cv=none; d=google.com; s=arc-20160816; b=f+CHbb5nG0CdUJ2KG3S52u6cUDV5fJGcZHjT9yzVQKN8dCdQQnpzK5KIsVl1+Bvv8u dcS2XiipK8mVTwyIKAM2qerSo2hsLx0ThCG7mmMXx7XCi4xNT9opW4p9BbBmOayYlMe+ j+tUij898nB3y+SbHg5fIAmeDcQmDpF61X8UuLxrszx0FFgP9ii1k1aT9sgD6ShS7dRM e73KOjUa+Bn3XRowpT59DfGrJ2qeWQKioDeiSMZVIovgxDJcqijZvruKITjIWGrdEKkV MgCfr+qbdKYaB4+ppwkgvUhlMNm5pyp37Q8zpfyOE1f2f2gFx5m1/PS+iFmaUbNtUMdp utCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=MBXvtlfFBoGZUA5aHe7Bruq3kt/tuVFPhErjfpDtloM=; b=lMVY8yuLm7DApVvvbYc6XD+Hd3uuRlpRzkPICtbfShqTrvqwzQzOg1VU9GqsbFRii2 fvzCyVPoZ5aKTkv55u9NlEdjyY+ZULRJTKzivtwMUfmeItpzZxlfUKCJ9Q3nSrfGWsf+ KeASJb6UUkcUbts8oV6q58gagVhCH4WHkcvDUNVNxYFUYqXIJ9AT8vuUnZ+dai/q0rk4 xv50cX4SEtI1Ys+MNiNyXDgOKDZSMpDoTpQL3aSfaeVffyCZGYzTsdrMGzHehn31ZFoH lcilx/DFohtKJ6TPbHJAMlpGtIrrhTUYpioCHQvOBpIKc0ys5VBuScvqcJOOna4PCbcf sOmQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n15si3437171edc.19.2021.03.31.23.40.17; Wed, 31 Mar 2021 23:40:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233050AbhDAGhI (ORCPT + 99 others); Thu, 1 Apr 2021 02:37:08 -0400 Received: from mail-m17637.qiye.163.com ([59.111.176.37]:44064 "EHLO mail-m17637.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233143AbhDAGgl (ORCPT ); Thu, 1 Apr 2021 02:36:41 -0400 Received: from wanjb-virtual-machine.localdomain (unknown [36.152.145.182]) by mail-m17637.qiye.163.com (Hmail) with ESMTPA id 9DD73980149; Thu, 1 Apr 2021 14:36:38 +0800 (CST) From: Wan Jiabing To: Anil Gurumurthy , Sudarsana Kalluru , "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: kael_w@yeah.net, Wan Jiabing Subject: [PATCH] scsi: bfa: Remove unnecessary struct declaration Date: Thu, 1 Apr 2021 14:35:34 +0800 Message-Id: <20210401063535.992487-1-wanjiabing@vivo.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgYFAkeWUFZS1VLWVdZKFlBSE83V1ktWUFJV1kPCR oVCBIfWUFZGUIdGkgaGUgYGkhLVkpNSkxJTkNCQkJLSUxVEwETFhoSFyQUDg9ZV1kWGg8SFR0UWU FZT0tIVUpKS0hKTFVLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6PBA6NTo4ED8KODRNTAgJAT4o DBJPC0JVSlVKTUpMSU5DQkJCSEtPVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlI TVVKTklVSk9OVUpDSVlXWQgBWUFKQ09NNwY+ X-HM-Tid: 0a788c25eca3d992kuws9dd73980149 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- drivers/scsi/bfa/bfa_fcs.h | 3 --- 1 file changed, 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). -- 2.25.1