staging:rtl8192u: Remove unused AC_UAPSD definitions - Style
authorJohn Whitmore <johnfwhitmore@gmail.com>
Mon, 23 Jul 2018 20:50:30 +0000 (21:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Jul 2018 12:06:14 +0000 (14:06 +0200)
Remove the definitions associated with AC_UAPSD. These definitions are
not used in code so have simply been removed. This is a coding style
change and should have no impact on runtime execution.

Signed-off-by: John Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h

index 878c467..471874d 100644 (file)
@@ -112,21 +112,6 @@ typedef union _TSPEC_BODY {
        } f;    // Field
 } TSPEC_BODY, *PTSPEC_BODY;
 
-typedef        u8              AC_UAPSD, *PAC_UAPSD;
-
-#define        GET_VO_UAPSD(_apsd) ((_apsd) & BIT(0))
-#define        SET_VO_UAPSD(_apsd) ((_apsd) |= BIT(0))
-
-#define        GET_VI_UAPSD(_apsd) ((_apsd) & BIT(1))
-#define        SET_VI_UAPSD(_apsd) ((_apsd) |= BIT(1))
-
-#define        GET_BK_UAPSD(_apsd) ((_apsd) & BIT(2))
-#define        SET_BK_UAPSD(_apsd) ((_apsd) |= BIT(2))
-
-#define        GET_BE_UAPSD(_apsd) ((_apsd) & BIT(3))
-#define        SET_BE_UAPSD(_apsd) ((_apsd) |= BIT(3))
-
-
 //typedef struct _TCLASS{
 // TODO
 //} TCLASS, *PTCLASS;