Staging: rtl8192u: Remove unnecessary struct and typedef
authorCristina Opriceana <cristina.opriceana@gmail.com>
Thu, 12 Mar 2015 02:30:04 +0000 (04:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Mar 2015 14:54:13 +0000 (15:54 +0100)
This patch removes the _bss_ht struct and the associated type definition
because it is not used and it also introduces the warning:
"WARNING: do not add new typedefs".

Signed-off-by: Cristina Opriceana <cristina.opriceana@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/ieee80211.h

index b6b862a2639f1350518523848c55d202077bea70..0f53c6a97578504d0f4a31eb42a98d846e6c3ba3 100644 (file)
@@ -1457,24 +1457,6 @@ struct   ether_header {
 #define        ETHERTYPE_IP    0x0800          /* IP protocol */
 #endif
 
-typedef struct _bss_ht{
-
-       bool                            support_ht;
-
-       // HT related elements
-       u8                                      ht_cap_buf[32];
-       u16                                     ht_cap_len;
-       u8                                      ht_info_buf[32];
-       u16                                     ht_info_len;
-
-       HT_SPEC_VER                     ht_spec_ver;
-       //HT_CAPABILITY_ELE                     bdHTCapEle;
-       //HT_INFORMATION_ELE            bdHTInfoEle;
-
-       bool                            aggregation;
-       bool                            long_slot_time;
-}bss_ht, *pbss_ht;
-
 typedef enum _erp_t{
        ERP_NonERPpresent       = 0x01,
        ERP_UseProtection       = 0x02,
This page took 0.026122 seconds and 5 git commands to generate.