From: John Whitmore Date: Fri, 17 Aug 2018 18:34:44 +0000 (+0100) Subject: staging:rtl8192u: Remove unused CHHLOP_IN_PROGRESS - Style X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=40602a0d1f34af110c5b0c2a9fc495f571b29b63;p=linux.git staging:rtl8192u: Remove unused CHHLOP_IN_PROGRESS - Style 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_HT.h b/drivers/staging/rtl8192u/ieee80211/rtl819x_HT.h index 5ead032735a62..831a85bdbd2e0 100644 --- a/drivers/staging/rtl8192u/ieee80211/rtl819x_HT.h +++ b/drivers/staging/rtl8192u/ieee80211/rtl819x_HT.h @@ -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;