diff options
author | John Whitmore <johnfwhitmore@gmail.com> | 2018-08-03 01:01:59 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-05 16:21:06 +0200 |
commit | 863108d5a06bb896c8a9912fc669ec13176b306d (patch) | |
tree | e4ee09e258afca696da08a385d139ae83ed7526d /drivers/staging/rtl8192u/r8192U_dm.h | |
parent | 916501c8047c5420f57ff87a41c120007c8a76e7 (diff) |
staging:rtl8192u: Remove member variable Enable - Style
The structure dynamic_rx_path_sel defines a member variable 'Enable'
which is initialised and later tested. The variable is however never
changed to the test is redundant and the member variable is then never
used.
The member variable, initialisation and test have all been removed.
This is a coding style change which 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 | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192u/r8192U_dm.h b/drivers/staging/rtl8192u/r8192U_dm.h index 06ebd820de52..53daec820ca7 100644 --- a/drivers/staging/rtl8192u/r8192U_dm.h +++ b/drivers/staging/rtl8192u/r8192U_dm.h @@ -129,7 +129,6 @@ enum cck_rx_path_method { }; struct dynamic_rx_path_sel { - u8 Enable; enum cck_rx_path_method cck_method; u8 cck_Rx_path; |