Staging: rtl8723bs: remove useless structs in wlan_bssdef.h
authorMarco Cesati <marcocesati@gmail.com>
Mon, 22 Mar 2021 13:37:04 +0000 (14:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Mar 2021 16:05:45 +0000 (17:05 +0100)
Remove the following unreferenced struct's in include/wlan_bssdef.h:

struct ndis_802_11_association_information
struct ndis_802_11_key
struct ndis_802_11_remove_key

Signed-off-by: Marco Cesati <marcocesati@gmail.com>
Link: https://lore.kernel.org/r/20210322133717.17797-7-marcocesati@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/include/wlan_bssdef.h

index 2598353..9d63dc0 100644 (file)
@@ -127,38 +127,12 @@ struct ndis_801_11_ai_resfi {
        u16 AssociationId;
 };
 
-struct ndis_802_11_association_information {
-       u32                   Length;
-       u16                  AvailableRequestFixedIEs;
-       struct ndis_802_11_ai_reqfi    RequestFixedIEs;
-       u32                   RequestIELength;
-       u32                   OffsetRequestIEs;
-       u16                  AvailableResponseFixedIEs;
-       struct ndis_801_11_ai_resfi    ResponseFixedIEs;
-       u32                   ResponseIELength;
-       u32                   OffsetResponseIEs;
-};
-
 enum ndis_802_11_reload_defaults {
        Ndis802_11ReloadWEPKeys
 };
 
 
 /*  Key mapping keys require a BSSID */
-struct ndis_802_11_key {
-       u32           Length;             /*  Length of this structure */
-       u32           KeyIndex;
-       u32           KeyLength;          /*  length of key in bytes */
-       NDIS_802_11_MAC_ADDRESS BSSID;
-       unsigned long long KeyRSC;
-       u8           KeyMaterial[32];     /*  variable length depending on above field */
-};
-
-struct ndis_802_11_remove_key {
-       u32                   Length;        /*  Length of this structure */
-       u32                   KeyIndex;
-       NDIS_802_11_MAC_ADDRESS BSSID;
-};
 
 struct ndis_802_11_wep {
        u32 Length;        /*  Length of this structure */