Просмотр исходного кода

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 2 лет назад
Родитель
Сommit
c4741f08f7
1 измененных файлов с 0 добавлено и 16 удалено
  1. 0 16
      core/hdd/inc/wlan_hdd_main.h

+ 0 - 16
core/hdd/inc/wlan_hdd_main.h

@@ -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