OSDN Git Service

staging:rtl8192u: Remove unused definition of sQoSCtlLng - Style
authorJohn Whitmore <johnfwhitmore@gmail.com>
Mon, 23 Jul 2018 20:50:31 +0000 (21:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Jul 2018 12:06:14 +0000 (14:06 +0200)
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>
drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h

index 471874d..8ee9370 100644 (file)
@@ -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))