staging: rtl8192u: remove unused functions in r8192U_core.c
authorBaoyou Xie <baoyou.xie@linaro.org>
Fri, 23 Sep 2016 13:35:22 +0000 (21:35 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Sep 2016 17:00:44 +0000 (19:00 +0200)
commitaf8b19c4a8ed156904e14d97dd186f5d8858acd6
tree57c5eaba6edd6cfddc24fb245573ce3aea43bab5
parent3590e78a1d28f16aebbd723fc021cb752e42737b
staging: rtl8192u: remove unused functions in r8192U_core.c

We get 2 warnings when building kernel with W=1:
drivers/staging/rtl8192u/r8192U_core.c:925:12: warning: no previous declaration for 'ieeerate2rtlrate' [-Wmissing-declarations]
drivers/staging/rtl8192u/r8192U_core.c:958:12: warning: no previous declaration for 'rtl8192_rate2rate' [-Wmissing-declarations]
drivers/staging/rtl8192u/r8192U_core.c:1322:11: warning: no previous declaration for 'rtl8192_IsWirelessBMode' [-Wmissing-declarations]

In fact, these functions are unused in
r8192U_core.c, but should be removed.

So this patch removes the unused functions.

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r8192U_core.c