staging: rtl8192u: remove unused ieee80211_SignalStrengthTranslate function
authorTom Rix <trix@redhat.com>
Thu, 23 Mar 2023 16:59:31 +0000 (12:59 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Mar 2023 08:51:26 +0000 (09:51 +0100)
commit6bfafec3faf7ab20d72bb2063058591e55b68f8e
tree03dbb18c3ab74b53c8bb7af3ed43ce5344e732eb
parent4f3db2e2a97bb04e49cf2840dcde8a813b2ece2a
staging: rtl8192u: remove unused ieee80211_SignalStrengthTranslate function

clang with W=1 reports
drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c:1961:18: error: unused
  function 'ieee80211_SignalStrengthTranslate' [-Werror,-Wunused-function]
static inline u8 ieee80211_SignalStrengthTranslate(
                 ^
This function is not used so remove it.
It may have been used in the past but that has been commented out.
Also remove the comment.

Signed-off-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20230323165931.2634587-1-trix@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c