diff options
author | John Whitmore <johnfwhitmore@gmail.com> | 2018-08-03 01:02:01 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-05 16:21:06 +0200 |
commit | f793836c16a56596d4501f87fec85b7dc6366fb5 (patch) | |
tree | b8fcf759869892cdc0d45598a5ae5a711540f36b /drivers/staging/rtl8192u/r8192U_dm.h | |
parent | f19a08e76d09bd12b15faedf1eeacd33c7862dbd (diff) |
staging:rtl8192u: Remove SS_TH_low - Style
The member variable SS_TH_low is assigned a constant and then used
in a comparison. This member variable is redundant as the constant
can be used directly for the comparison.
In addition the constant RxPathSelection_SS_TH_low has been renamed
to RX_PATH_SELECTION_SS_TH_LOW, to clear the checkpatch issue with
CamelCase naming.
These changes are coding style in nature and should not impact
runtime code execution.
Signed-off-by: John Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u/r8192U_dm.h')
-rw-r--r-- | drivers/staging/rtl8192u/r8192U_dm.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192u/r8192U_dm.h b/drivers/staging/rtl8192u/r8192U_dm.h index b1f19bad2c30..0aaac0fca110 100644 --- a/drivers/staging/rtl8192u/r8192U_dm.h +++ b/drivers/staging/rtl8192u/r8192U_dm.h @@ -37,7 +37,7 @@ #define DM_DIG_MIN 0x1c #define DM_DIG_MIN_Netcore 0x12 -#define RxPathSelection_SS_TH_low 30 +#define RX_PATH_SELECTION_SS_TH_LOW 30 #define RxPathSelection_diff_TH 18 #define RateAdaptiveTH_High 50 @@ -132,7 +132,6 @@ struct dynamic_rx_path_sel { enum cck_rx_path_method cck_method; u8 cck_rx_path; - u8 SS_TH_low; u8 diff_TH; u8 disabledRF; u8 reserved; |