Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3221622pxj; Mon, 24 May 2021 01:22:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxaRHR89RMFcLKxv40qVsyIBxyIJirYiGwnCdZojZAXBSgVGSYBqUCXDX24KF7F2FPtUDb6 X-Received: by 2002:a17:907:248c:: with SMTP id zg12mr21894666ejb.268.1621844526696; Mon, 24 May 2021 01:22:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621844526; cv=none; d=google.com; s=arc-20160816; b=QrlgVl6g4sNoRVIEF0DX4jonRlz/VbPTgKGaU6l3aTaEKpJG9ULPjh007A5CKS2Nof aqYe3diX1z4+YESKp08trBTbrVqoYxbzNZ4QQ6O50R0s3KPh8EqvuDNGBUpXdhDx1540 m5ETPmF3umiOKq1IFsxEfLmWt96U/NHcdfIaIFHuVBZqJF1Kru+Gy5UrGD1xboXVBqAg gMgJnCV2Ulu5cGKDpGa5eNb2CzLcHOvZ3qKYdeGZK5SmdN2nEhFkuFSXI2pW5I3BYtbj JD4o4Cl4+x0Nxsdw2rdTGr+oT9faET88K7/7FtNH/trD68mKDEjZpCmBOFcVkefy+mxY d4OQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=CMlgSaP87zTrziw1Egb0m/EYD0F+dylCPCHc59SluMg=; b=X05c0sjBt0SyjPYiG35lfbYvVdukhnaLnDBHNlFxlqSHwuRer5vRpHHLtB2d3sRqMP aOBsLfh626IU8Z5kuY5bV7PsdDcvPqxP4asjn4VywsMEz3uWJ+crWWMRDyQf2G3v/QXQ 5i3S7hp74/TL/6iXW1Osw1BM5QuThkIv2NjRxTohdSVeycym4FjOjb8brmst+GXJJkA7 CCPTbrN9yPnoD1yTtARE8A9IJrFY/AcPDIL+MUgttjpuj4lRNXGb+obFs0HNTGFRqJ9Q ByIFnh8aNq/XlL3DPpqiseEevf90nWIA8/6o3j+cVThizK1KrIjz6tOB+r9Rubzm5iNT yRRw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=hisilicon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v9si8276283ejh.703.2021.05.24.01.21.36; Mon, 24 May 2021 01:22:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=hisilicon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232311AbhEXIWY (ORCPT + 99 others); Mon, 24 May 2021 04:22:24 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:5747 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232279AbhEXIWX (ORCPT ); Mon, 24 May 2021 04:22:23 -0400 Received: from dggems701-chm.china.huawei.com (unknown [172.30.72.58]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4FpVSH51B1zmkkT; Mon, 24 May 2021 16:17:19 +0800 (CST) Received: from dggpeml500023.china.huawei.com (7.185.36.114) by dggems701-chm.china.huawei.com (10.3.19.178) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Mon, 24 May 2021 16:20:50 +0800 Received: from localhost.localdomain (10.69.192.56) by dggpeml500023.china.huawei.com (7.185.36.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Mon, 24 May 2021 16:20:50 +0800 From: Shaokun Zhang To: CC: Shaokun Zhang , Kalle Valo Subject: [PATCH] brcmsmac: Remove the repeated declaration Date: Mon, 24 May 2021 16:20:43 +0800 Message-ID: <1621844443-38290-1-git-send-email-zhangshaokun@hisilicon.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To dggpeml500023.china.huawei.com (7.185.36.114) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Function 'brcms_c_stf_phy_txant_upd' are declared twice, remove the repeated declaration. Cc: Kalle Valo Signed-off-by: Shaokun Zhang --- drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.h b/drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.h index aa4ab53bf634..af86c7fc5112 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.h +++ b/drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.h @@ -29,7 +29,6 @@ void brcms_c_stf_ss_update(struct brcms_c_info *wlc, struct brcms_band *band); void brcms_c_stf_phy_txant_upd(struct brcms_c_info *wlc); int brcms_c_stf_txchain_set(struct brcms_c_info *wlc, s32 int_val, bool force); bool brcms_c_stf_stbc_rx_set(struct brcms_c_info *wlc, s32 int_val); -void brcms_c_stf_phy_txant_upd(struct brcms_c_info *wlc); void brcms_c_stf_phy_chain_calc(struct brcms_c_info *wlc); u16 brcms_c_stf_phytxchain_sel(struct brcms_c_info *wlc, u32 rspec); u16 brcms_c_stf_d11hdrs_phyctl_txant(struct brcms_c_info *wlc, u32 rspec); -- 2.7.4