Skip to contentSkip to conversation

wifi: brcm80211: remove unused structs

PATCH In review [email protected] 3 participants 3 messages May 26, 2024 – Jun 1, 2024 Broadcom BRCM80211 IEEE802.11 wireless drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wifi: brcm80211: remove unused structs

From: "Dr. David Alan Gilbert" <[email protected]>

'brcmf_pcie_core_info' was added in
commit 9e37f045d5e7 ("brcmfmac: Adding PCIe bus layer support.") but never used.

'brcms_c_bit_desc' last use was removed in
commit cdf4352f5c59 ("brcmsmac: Improve tx trace and debug support").

Remove them.

---
 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c | 5 -----
 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c | 6 ------
 2 files changed, 11 deletions(-)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c +0 -5
index 06698a714b52..ce482a3877e9 100644
@@ -313,11 +313,6 @@ struct brcmf_pcie_shared_info {
 	u8 version;
 };
 
-struct brcmf_pcie_core_info {
-	u32 base;
-	u32 wrapbase;
-};
-
 #define BRCMF_OTP_MAX_PARAM_LEN 16
 
 struct brcmf_otp_params {
drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c +0 -6
index 34460b5815d0..4576b18fcd97 100644
@@ -234,12 +234,6 @@
 /* max # tx status to process in wlc_txstatus() */
 #define TXSBND				8
 
-/* brcmu_format_flags() bit description structure */
-struct brcms_c_bit_desc {
-	u32 bit;
-	const char *name;
-};
-
 /*
  * The following table lists the buffer memory allocated to xmt fifos in HW.
  * the size is in units of 256bytes(one block), total size is HW dependent
Signature · 1 line
2.45.1
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines · On 5/27/2024 1:45 AM, [email protected] wrote:

From: "Dr. David Alan Gilbert" <[email protected]>

'brcmf_pcie_core_info' was added in
commit 9e37f045d5e7 ("brcmfmac: Adding PCIe bus layer support.") but never used.

'brcms_c_bit_desc' last use was removed in
commit cdf4352f5c59 ("brcmsmac: Improve tx trace and debug support").

Remove them.

Thanks for cleaning this up.

Quoted 5 lines
---
  drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c | 5 -----
  drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c | 6 ------
  2 files changed, 11 deletions(-)
#2 lore raw
In reply to [email protected]
Quoted 6 lines · [email protected] wrote:

From: "Dr. David Alan Gilbert" <[email protected]>

'brcmf_pcie_core_info' was added in
commit 9e37f045d5e7 ("brcmfmac: Adding PCIe bus layer support.") but never used.

Quoted 7 lines

'brcms_c_bit_desc' last use was removed in
commit cdf4352f5c59 ("brcmsmac: Improve tx trace and debug support").

Remove them.

Patch applied to wireless-next.git, thanks.

5bcd9a0a5995 wifi: brcm80211: remove unused structs

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

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