mirror of https://gitee.com/openkylin/linux.git
staging: rtl8723bs: Replace function rtw_free_network_queue()
Remove function rtw_free_network_queue as all it does is call _rtw_free_network_queue. Rename _rtw_free_network_queue to rtw_free_network_queue to maintain compatibility with call sites. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
534415d29c
commit
2b524fc4ff
|
@ -275,7 +275,7 @@ struct wlan_network *_rtw_find_network(struct __queue *scanned_queue, u8 *addr)
|
|||
return pnetwork;
|
||||
}
|
||||
|
||||
void _rtw_free_network_queue(struct adapter *padapter, u8 isfreeall)
|
||||
void rtw_free_network_queue(struct adapter *padapter, u8 isfreeall)
|
||||
{
|
||||
struct list_head *phead, *plist;
|
||||
struct wlan_network *pnetwork;
|
||||
|
@ -375,12 +375,6 @@ void rtw_free_network_nolock(struct adapter *padapter, struct wlan_network *pnet
|
|||
rtw_cfg80211_unlink_bss(padapter, pnetwork);
|
||||
}
|
||||
|
||||
|
||||
void rtw_free_network_queue(struct adapter *dev, u8 isfreeall)
|
||||
{
|
||||
_rtw_free_network_queue(dev, isfreeall);
|
||||
}
|
||||
|
||||
/*
|
||||
return the wlan_network with the matching addr
|
||||
|
||||
|
|
|
@ -607,8 +607,6 @@ extern void _rtw_free_network_nolock(struct mlme_priv *pmlmepriv, struct wlan_ne
|
|||
|
||||
extern struct wlan_network* _rtw_find_network(struct __queue *scanned_queue, u8 *addr);
|
||||
|
||||
extern void _rtw_free_network_queue(struct adapter *padapter, u8 isfreeall);
|
||||
|
||||
extern sint rtw_if_up(struct adapter *padapter);
|
||||
|
||||
sint rtw_linked_check(struct adapter *padapter);
|
||||
|
|
Loading…
Reference in New Issue