2021-05-24 08:22:06

by Zhangshaokun

[permalink] [raw]
Subject: [PATCH] brcmsmac: Remove the repeated declaration

Function 'brcms_c_stf_phy_txant_upd' are declared twice, remove
the repeated declaration.

Cc: Kalle Valo <[email protected]>
Signed-off-by: Shaokun Zhang <[email protected]>
---
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


2021-06-15 10:45:13

by Kalle Valo

[permalink] [raw]
Subject: Re: [PATCH] brcmsmac: Remove the repeated declaration

Shaokun Zhang <[email protected]> wrote:

> Function 'brcms_c_stf_phy_txant_upd' are declared twice, remove
> the repeated declaration.
>
> Cc: Kalle Valo <[email protected]>
> Signed-off-by: Shaokun Zhang <[email protected]>

Patch applied to wireless-drivers-next.git, thanks.

5a8e5dae2a22 brcmsmac: Remove the repeated declaration

--
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches