Remove all calls to _rtw_spinlock_free()

This routine is empty, thus all calls to it can be removed.

Link: https://lore.kernel.org/r/20210805183717.23007-4-Larry.Finger@lwfinger.net
This commit is contained in:
Larry Finger
2021-08-05 13:37:15 -05:00
committed by Carlos Garcés
parent 34ec238387
commit 51e1f13a91
18 changed files with 2 additions and 138 deletions

View File

@@ -1165,7 +1165,7 @@ void dump_mesh_networks(void *sel, _adapter *adapter)
);
}
rtw_vmfree(mesh_networks, mlme->max_bss_cnt * sizeof(struct wlan_network *));
vfree(mesh_networks);
}
void rtw_mesh_adjust_chbw(u8 req_ch, u8 *req_bw, u8 *req_offset)
@@ -2284,8 +2284,6 @@ void rtw_mesh_plink_ctl_deinit(_adapter *adapter)
}
_exit_critical_bh(&(plink_ctl->lock), &irqL);
_rtw_spinlock_free(&plink_ctl->lock);
#if CONFIG_RTW_MESH_PEER_BLACKLIST
rtw_mesh_peer_blacklist_flush(adapter);
_rtw_deinit_queue(&plink_ctl->peer_blacklist);