OSDN Git Service

staging:rtl8192u: Remove unused enumerated type ACK_POLICY - Style
authorJohn Whitmore <johnfwhitmore@gmail.com>
Mon, 23 Jul 2018 20:50:18 +0000 (21:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Jul 2018 12:06:13 +0000 (14:06 +0200)
The enumerated type ACK_POLICY is not used in code so it has been removed
from the source code. This is a coding style change and 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 45ba96a..fb2745d 100644 (file)
 #define AC_PARAM_SIZE  4
 #define WMM_PARAM_ELE_BODY_LEN 18
 
-//
-// QoS ACK Policy Field Values
-// Ref: WMM spec 2.1.6: QoS Control Field, p.10.
-//
-typedef        enum _ACK_POLICY {
-       eAckPlc0_ACK            = 0x00,
-       eAckPlc1_NoACK          = 0x01,
-} ACK_POLICY, *PACK_POLICY;
-
 #define WMM_PARAM_ELEMENT_SIZE (8+(4*AC_PARAM_SIZE))
 
 //