diff options
author | Hans de Goede <hdegoede@redhat.com> | 2023-02-21 17:53:25 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-08 19:57:05 +0300 |
commit | fea50d5fba5a03ddb5c81863533afdaa91002690 (patch) | |
tree | a8247959bfb42f9e15aae681f32a4b7feceaec2d /drivers/staging/rtl8723bs | |
parent | 3f467036093fedd7e231924327455fc609b5ef02 (diff) | |
download | linux-fea50d5fba5a03ddb5c81863533afdaa91002690.tar.xz |
drivers: staging: rtl8723bs: Remove unused clr_fwstate() function
The clr_fwstate() function is not used anywhere, remove it.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20230221145326.7808-3-hdegoede@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723bs')
-rw-r--r-- | drivers/staging/rtl8723bs/include/rtw_mlme.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/staging/rtl8723bs/include/rtw_mlme.h b/drivers/staging/rtl8723bs/include/rtw_mlme.h index 1b343b434f4d..ee748620107f 100644 --- a/drivers/staging/rtl8723bs/include/rtw_mlme.h +++ b/drivers/staging/rtl8723bs/include/rtw_mlme.h @@ -490,18 +490,6 @@ static inline void _clr_fwstate_(struct mlme_priv *pmlmepriv, signed int state) pmlmepriv->bScanInProcess = false; } -/* - * No Limit on the calling context, - * therefore set it to be the critical section... - */ -static inline void clr_fwstate(struct mlme_priv *pmlmepriv, signed int state) -{ - spin_lock_bh(&pmlmepriv->lock); - if (check_fwstate(pmlmepriv, state) == true) - pmlmepriv->fw_state ^= state; - spin_unlock_bh(&pmlmepriv->lock); -} - static inline void set_scanned_network_val(struct mlme_priv *pmlmepriv, signed int val) { spin_lock_bh(&pmlmepriv->lock); |