[PATCH 33/61] staging: rtl8723bs: remove duplicate prototype of rtw_free_network_nolock
From: Arsenii Pashchenko
Date: Wed Jul 15 2026 - 08:58:59 EST
Remove the redundant forward declaration of rtw_free_network_nolock()
located directly above its actual definition in the source file.
This duplicate prototype is unnecessary since the function body
immediately follows it, and the proper declaration already exists in
the corresponding header file. Clean this up to reduce code clutter.
Signed-off-by: Arsenii Pashchenko <ulijg308@xxxxxxxxx>
---
drivers/staging/rtl8723bs/core/rtw_mlme.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme.c b/drivers/staging/rtl8723bs/core/rtw_mlme.c
index e86a4e83b..73b20a78d 100644
--- a/drivers/staging/rtl8723bs/core/rtw_mlme.c
+++ b/drivers/staging/rtl8723bs/core/rtw_mlme.c
@@ -302,7 +302,6 @@ u8 *rtw_get_beacon_interval_from_ie(u8 *ie)
return ie + 8;
}
-void rtw_free_network_nolock(struct adapter *padapter, struct wlan_network *pnetwork);
void rtw_free_network_nolock(struct adapter *padapter, struct wlan_network *pnetwork)
{
_rtw_free_network_nolock(&padapter->mlmepriv, pnetwork);
--
2.55.0