diff options
author | Bhanusree Pola <bhanusreemahesh@gmail.com> | 2018-10-23 16:27:26 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-05 14:16:32 +0100 |
commit | 2c66f2a9efd9cdba235e9d41de544e23ccdb8700 (patch) | |
tree | 84a0065a641ea95181a6315f8ee893726ac83346 /fs/fscache/page.c | |
parent | cd27f56fce4fedc975663ecebb8166444a80b75c (diff) |
Staging: rtlwifi: Remove Unneeded funition halbtc_get_wifi_rssi()
In the function halbtc_get_wifi_rssi:
1.if and else are functionally identical as they assign same value to
variable 'undec_sm_pwdb'.
2.Variable 'undec_sm_pwdb' not required to just return a single value.
3.Function not needed to just return a value and so removed the function
and assigned value rtlpriv->dm.undec_sm_pwdb where the function
halbtc_get_wifi_rssi() is called.
Signed-off-by: Bhanusree Pola <bhanusreemahesh@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/fscache/page.c')
0 files changed, 0 insertions, 0 deletions