diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-08-21 20:25:56 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-08-21 09:15:43 -0700 |
commit | 4a67342ea9c7c34903f4068f21c98385f9f62b8d (patch) | |
tree | d0d0a75ba30300d693d8021d37dca64a09ee3c31 /lib/textsearch.c | |
parent | staging: rtl8192u: ieee80211: remove set but not used variable 'data_len' (diff) | |
download | linux-dev-4a67342ea9c7c34903f4068f21c98385f9f62b8d.tar.xz linux-dev-4a67342ea9c7c34903f4068f21c98385f9f62b8d.zip |
staging: rtl8192e: remove two set but not used variables
Fixes gcc '-Wunused-but-set-variable' warning:
In function '_rtl92e_dm_tx_power_tracking_callback_tssi':
drivers/staging/rtl8192e/rtl8192e/rtl_dm.c:621:7:
warning: variable 'bHighpowerstate' set but not used [-Wunused-but-set-variable]
In function '_rtl92e_dm_rx_path_sel_byrssi':
drivers/staging/rtl8192e/rtl8192e/rtl_dm.c:1904:32:
warning: variable 'cck_rx_ver2_min_index' set but not used [-Wunused-but-set-variable]
They are never used, so can be removed.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190821122556.37636-1-yuehaibing@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/textsearch.c')
0 files changed, 0 insertions, 0 deletions