staging:rtl8192u: Remove unused union ECW -Style
authorJohn Whitmore <johnfwhitmore@gmail.com>
Sat, 28 Jul 2018 23:14:49 +0000 (00:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 Jul 2018 09:06:04 +0000 (11:06 +0200)
The union ECW is never used in code so has simply been removed.
This is a coding style change which 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 43edb83..65d7c9f 100644 (file)
@@ -24,18 +24,6 @@ union aci_aifsn {
        } f;    // Field
 };
 
-//
-// ECWmin/ECWmax field.
-// Ref: WMM spec 2.2.2: WME Parameter Element, p.13.
-//
-typedef        union _ECW {
-       u8      charData;
-       struct {
-               u8      ECWmin:4;
-               u8      ECWmax:4;
-       } f;    // Field
-} ECW, *PECW;
-
 //
 // Direction Field Values.
 // Ref: WMM spec 2.2.11: WME TSPEC Element, p.18.