From 40602a0d1f34af110c5b0c2a9fc495f571b29b63 Mon Sep 17 00:00:00 2001 From: John Whitmore Date: Fri, 17 Aug 2018 19:34:44 +0100 Subject: [PATCH] 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 --- drivers/staging/rtl8192u/ieee80211/rtl819x_HT.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_HT.h b/drivers/staging/rtl8192u/ieee80211/rtl819x_HT.h index 5ead032735a6..831a85bdbd2e 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;