staging:rtl8192u: Remove unused CHHLOP_IN_PROGRESS - Style
authorJohn Whitmore <johnfwhitmore@gmail.com>
Fri, 17 Aug 2018 18:34:44 +0000 (19:34 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Aug 2018 17:22:39 +0000 (19:22 +0200)
The macro CHHLOP_IN_PROGRESS is never used in code, so has 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_HT.h

index 5ead032..831a85b 100644 (file)
@@ -44,10 +44,6 @@ typedef enum _CHNLOP {
        CHNLOP_SWCHNL = 3, // Software Channel switching in progress
 } CHNLOP, *PCHNLOP;
 
-// Determine if the Channel Operation is in progress
-#define CHHLOP_IN_PROGRESS(_pHTInfo)   \
-               ((_pHTInfo)->ChnlOp > CHNLOP_NONE) ? TRUE : FALSE
-
 /*
 typedef        union _HT_CAPABILITY{
        u16     ShortData;