Skip to content

Commit

Permalink
staging:rtl8192u: Remove unused definition of sQoSCtlLng - Style
Browse files Browse the repository at this point in the history
Remove sQoSCtlLng. The constant sQoSCtlLng is never used in code so has
been removed. This is a coding style change so should have no impact on
runtime code 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 1026e4a commit 670c636
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h
Original file line number Diff line number Diff line change
Expand Up @@ -189,12 +189,6 @@ typedef struct _OCTET_STRING {
u16 Length;
} OCTET_STRING, *POCTET_STRING;

//
// Ref: sQoSCtlLng and QoSCtl definition in 8185 QoS code.
//#define QoSCtl (( (Adapter->bRegQoS) && (Adapter->dot11QoS.QoSMode &(QOS_EDCA|QOS_HCCA)) ) ?sQoSCtlLng:0)
//
#define sQoSCtlLng 2

//Added by joseph
//UP Mapping to AC, using in MgntQuery_SequenceNumber() and maybe for DSCP
//#define UP2AC(up) ((up<3)?((up==0)?1:0):(up>>1))
Expand Down

0 comments on commit 670c636

Please sign in to comment.