staging: rtl8723bs: remove unused variable pwrctl
authorPu Lehui <pulehui@huawei.com>
Fri, 9 Apr 2021 04:57:28 +0000 (12:57 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Apr 2021 14:15:11 +0000 (16:15 +0200)
commitb3dffce0e0aa7114fd6da1ce3e602044ed6254cc
tree8625fdc41922dd53bd1e6f7ab8703af30d872bea
parent8ff753bc1631487d4b4046161472f2bc0468af84
staging: rtl8723bs: remove unused variable pwrctl

GCC reports the following warning with W=1:

drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c:532:23: warning:
 variable 'pwrctl' set but not used [-Wunused-but-set-variable]
   532 |  struct pwrctrl_priv *pwrctl;
       |                       ^~~~~~

This variable is not used so remove it to fix the warning.

Signed-off-by: Pu Lehui <pulehui@huawei.com>
Link: https://lore.kernel.org/r/20210409045728.125852-1-pulehui@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c