]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
wifi: brcm80211: remove unused structs
authorDr. David Alan Gilbert <linux@treblig.org>
Sun, 26 May 2024 23:45:53 +0000 (00:45 +0100)
committerKalle Valo <kvalo@kernel.org>
Sat, 1 Jun 2024 10:09:22 +0000 (13:09 +0300)
'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.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240526234553.286773-1-linux@treblig.org
drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c

index 06698a714b5233485ad9f45af41db0583c6d92d8..ce482a3877e90ac16373ec7b081261d509c8bc34 100644 (file)
@@ -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 {
index d3c74440381fb05fb83624a9dbbe53b5d7e8095e..2738d4d6c60a914a50b47fd283005cd5bf574387 100644 (file)
 /* 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