qcacld-3.0: Remove hdd_is_sta_authenticated()

All usage of hdd_is_sta_authenticated() was removed by the patch:
  qcacld-3.0: Code cleanup from HDD module
  Change-Id If5f1cf432b5c02848202debee7de696b2f20be9a

Since hdd_is_sta_authenticated() is unused, remove it.

Change-Id: I777b8bb1ecda596d71744aa62be4b14dba71fe0e
CRs-Fixed: 3428727
此提交包含在:
Jeff Johnson
2023-03-08 19:32:34 -08:00
提交者 Madan Koyyalamudi
父節點 6d3b419417
當前提交 c4741f08f7

查看文件

@@ -1357,22 +1357,6 @@ struct hdd_adapter {
(&(adapter)->session.ap.hostapd_state)
#define WLAN_HDD_GET_SAP_CTX_PTR(adapter) ((adapter)->session.ap.sap_context)
/**
* hdd_is_sta_authenticated() - check if given adapter's STA
* session authenticated
* @adapter: adapter pointer
*
* Return: STA session is_authenticated flag value
*/
static inline
uint8_t hdd_is_sta_authenticated(struct hdd_adapter *adapter)
{
struct hdd_station_ctx *sta_ctx =
WLAN_HDD_GET_STATION_CTX_PTR(adapter);
return sta_ctx->conn_info.is_authenticated;
}
#ifdef WLAN_FEATURE_NAN
#define WLAN_HDD_IS_NDP_ENABLED(hdd_ctx) ((hdd_ctx)->nan_datapath_enabled)
#else