Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1026e4aa authored by John Whitmore's avatar John Whitmore Committed by Greg Kroah-Hartman
Browse files

staging:rtl8192u: Remove unused AC_UAPSD definitions - Style



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: default avatarJohn Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 90c7dbf0
Loading
Loading
Loading
Loading
+0 −15
Original line number Diff line number Diff line
@@ -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;