OpenCloudOS-Kernel/drivers/staging/rtl8723bs
zhengbin 7da8abcf48 staging: rtl8723bs: remove set but not used variable 'change', 'pos'
Fixes gcc '-Wunused-but-set-variable' warning:

drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c: In function cfg80211_rtw_change_iface:
drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:1310:5: warning: variable change set but not used [-Wunused-but-set-variable]
drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c: In function rtw_cfg80211_set_wpa_ie:
drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:1803:19: warning: variable pos set but not used [-Wunused-but-set-variable]

They are introduced by commit 554c0a3abf ("staging:
Add rtl8723bs sdio wifi driver"), but never used, so remove them.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Link: https://lore.kernel.org/r/1574063156-68155-6-git-send-email-zhengbin13@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-11-18 12:49:42 +01:00
..
core staging: rtl8723bs: fix indentation issue 2019-11-15 14:11:23 +08:00
hal staging: rtl8723bs: remove set but not used variable 'pmlmeinfo', 'pHalData' 2019-11-18 12:49:42 +01:00
include staging: rtl8723bs: Remove File operation APIs 2019-10-10 10:51:20 +02:00
os_dep staging: rtl8723bs: remove set but not used variable 'change', 'pos' 2019-11-18 12:49:42 +01:00
Kconfig staging: rtl8723bs: use help instead of ---help--- in Kconfig 2019-05-20 10:49:08 +02:00
Makefile staging: rtl8723bs: Remove debugging information exposed via procfs 2019-08-14 13:20:12 +02:00
TODO staging: rtl8723bs: Remove myself from CC: 2019-06-20 14:32:07 +02:00