staging: rtl8723bs: hal: Remove set but not used variable 'no_res' and 'phal'
authorYueHaibing <yuehaibing@huawei.com>
Sat, 25 May 2019 14:36:40 +0000 (22:36 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2019 21:13:45 +0000 (14:13 -0700)
commitca6ea423d2bbdd1d42fe71cbefb4c9635caecd12
tree2e6edab2ea41619c2f47af8200d1a6beed2fd5c6
parent371ec021a4921f79c7b232626682b0dc16aaf808
staging: rtl8723bs: hal: Remove set but not used variable 'no_res' and 'phal'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c: In function xmit_xmitframes:
drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c:205:5: warning: variable no_res set but not used [-Wunused-but-set-variable]
drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c: In function rtl8723bs_free_xmit_priv:
drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c:640:23: warning: variable phal set but not used [-Wunused-but-set-variable]

They are never used and can be removed.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c