staging: rtl8723bs: core: remove set but not used 'pwrpriv'
authorJason Yan <yanaijie@huawei.com>
Mon, 27 Apr 2020 03:23:41 +0000 (11:23 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Apr 2020 12:29:42 +0000 (14:29 +0200)
commit42577f08004165c76c20f383fa6e716db9e33d5d
tree41ff1283e1468ad2895d24239a185f93de7fe4f0
parent47548aa94c2114bc1492a458c33e0ba6b5a6209a
staging: rtl8723bs: core: remove set but not used 'pwrpriv'

Fix the following gcc warning:

drivers/staging/rtl8723bs/core/rtw_mlme.c:1100:24: warning: variable
‘pwrpriv’ set but not used [-Wunused-but-set-variable]
   struct pwrctrl_priv *pwrpriv;
                        ^~~~~~~

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Link: https://lore.kernel.org/r/20200427032342.27211-7-yanaijie@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_mlme.c