Skip to content

Commit

Permalink
staging:rtl8192u: Remove unused AC_UAPSD definitions - Style
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
John Whitmore authored and Greg Kroah-Hartman committed Jul 24, 2018
1 parent 90c7dbf commit 1026e4a
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1026e4a

Please sign in to comment.