mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-11 00:08:50 +00:00
Staging: rtl8723bs: Remove dead code from _rtw_free_network()
Clean dead code from is_same_network() and _rtw_free_network(). Signed-off-by: Meir Elisha <meir6264@gmail.com> Link: https://lore.kernel.org/r/20240229121445.22257-1-meir6264@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
fee3297b9f
commit
6fd529666b
@ -169,7 +169,6 @@ void _rtw_free_network(struct mlme_priv *pmlmepriv, struct wlan_network *pnetwor
|
||||
{
|
||||
unsigned int delta_time;
|
||||
u32 lifetime = SCANQUEUE_LIFETIME;
|
||||
/* _irqL irqL; */
|
||||
struct __queue *free_queue = &(pmlmepriv->free_bss_pool);
|
||||
|
||||
if (!pnetwork)
|
||||
@ -389,7 +388,6 @@ int is_same_network(struct wlan_bssid_ex *src, struct wlan_bssid_ex *dst, u8 fea
|
||||
d_cap = le16_to_cpu(tmpd);
|
||||
|
||||
return (src->ssid.ssid_length == dst->ssid.ssid_length) &&
|
||||
/* (src->configuration.ds_config == dst->configuration.ds_config) && */
|
||||
((!memcmp(src->mac_address, dst->mac_address, ETH_ALEN))) &&
|
||||
((!memcmp(src->ssid.ssid, dst->ssid.ssid, src->ssid.ssid_length))) &&
|
||||
((s_cap & WLAN_CAPABILITY_IBSS) ==
|
||||
|
Loading…
x
Reference in New Issue
Block a user