mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 22:14:03 +02:00
staging: rtl8723bs: rtw_mlme: make rtw_add_network() static
Function rtw_add_network() used only in rtw_mlme.c file, so it should be declared static. Remove the redundant prototype and add static keyword to the definition. Signed-off-by: Gongwei Li <ligongwei@kylinos.cn> Link: https://patch.msgid.link/20260715085542.1648015-1-13875017792@163.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
45b5a83721
commit
406f42d482
|
|
@ -566,8 +566,7 @@ void rtw_update_scanned_network(struct adapter *adapter, struct wlan_bssid_ex *t
|
|||
spin_unlock_bh(&queue->lock);
|
||||
}
|
||||
|
||||
void rtw_add_network(struct adapter *adapter, struct wlan_bssid_ex *pnetwork);
|
||||
void rtw_add_network(struct adapter *adapter, struct wlan_bssid_ex *pnetwork)
|
||||
static void rtw_add_network(struct adapter *adapter, struct wlan_bssid_ex *pnetwork)
|
||||
{
|
||||
update_current_network(adapter, pnetwork);
|
||||
rtw_update_scanned_network(adapter, pnetwork);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user