WSL2-Linux-Kernel/drivers/staging/rtl8192u
Baoyou Xie af8b19c4a8 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>
2016-09-23 19:00:44 +02:00
..
ieee80211 staging: rtl8192u: ieee80211: ieee80211_softmac: mark symbols static where possible 2016-09-23 19:00:44 +02:00
Kconfig
Makefile
authors
changes
copying
r819xU_cmdpkt.c
r819xU_cmdpkt.h rtl8192u: BIT() macro cleanup 2015-10-13 10:32:40 -07:00
r819xU_firmware.c
r819xU_firmware.h
r819xU_firmware_img.c
r819xU_firmware_img.h
r819xU_phy.c staging: rtl8192u: use to_delayed_work 2016-02-07 19:56:45 -08:00
r819xU_phy.h staging: rtl8192u: Remove unnecessary externs 2015-08-14 18:51:57 -07:00
r819xU_phyreg.h
r8180_93cx6.c staging: rtl8192u: propagate errors in eprom_read 2016-06-18 19:49:02 -07:00
r8180_93cx6.h staging: rtl8192u: propagate errors in eprom_read 2016-06-18 19:49:02 -07:00
r8190_rtl8256.c Staging: rtl8192u: Remove unnecessary semicolon. 2016-03-28 07:30:36 -07:00
r8190_rtl8256.h staging: rtl8192u: Remove unnecessary externs 2015-08-14 18:51:57 -07:00
r8192U.h staging/rtl8192u: use s8 instead of char 2016-08-21 18:21:28 +02:00
r8192U_core.c staging: rtl8192u: remove unused functions in r8192U_core.c 2016-09-23 19:00:44 +02:00
r8192U_dm.c Staging: rtl8192u: Remove useless type conversion 2016-09-20 13:35:45 +02:00
r8192U_dm.h staging: rtl8192u: Remove unnecessary externs 2015-08-14 18:51:57 -07:00
r8192U_hw.h rtl8192u: BIT() macro cleanup 2015-10-13 10:32:40 -07:00
r8192U_wx.c rtl8192u: r8192_priv: Replace semaphore wx_sem with mutex 2016-06-18 19:50:48 -07:00
r8192U_wx.h staging: rtl8192u: Remove unnecessary externs 2015-08-14 18:51:57 -07:00