瀏覽代碼

qcacld-3.0: Remove obsolete sme "is supported" functions

The following legacy functions are unused, so remove them:
- sme_is11d_supported()
- sme_is11h_supported()
- sme_is_wmm_supported()

Change-Id: I50016f7695d873f551f214504b54c0cbeb40564f
CRs-Fixed: 2371154
Jeff Johnson 6 年之前
父節點
當前提交
867c89d833
共有 2 個文件被更改,包括 0 次插入28 次删除
  1. 0 6
      core/sme/inc/sme_api.h
  2. 0 22
      core/sme/src/common/sme_api.c

+ 0 - 6
core/sme/inc/sme_api.h

@@ -616,12 +616,6 @@ QDF_STATUS sme_roam_set_key(mac_handle_t mac_handle, uint8_t sessionId,
 QDF_STATUS sme_get_country_code(mac_handle_t mac_handle, uint8_t *pBuf,
 				uint8_t *pbLen);
 
-
-/* some support functions */
-bool sme_is11d_supported(mac_handle_t mac_handle);
-bool sme_is11h_supported(mac_handle_t mac_handle);
-bool sme_is_wmm_supported(mac_handle_t mac_handle);
-
 QDF_STATUS sme_generic_change_country_code(mac_handle_t mac_handle,
 					   uint8_t *pCountry);
 

+ 0 - 22
core/sme/src/common/sme_api.c

@@ -3795,28 +3795,6 @@ QDF_STATUS sme_get_country_code(mac_handle_t mac_handle, uint8_t *pBuf,
 	return csr_get_country_code(mac, pBuf, pbLen);
 }
 
-/* some support functions */
-bool sme_is11d_supported(mac_handle_t mac_handle)
-{
-	struct mac_context *mac = MAC_CONTEXT(mac_handle);
-
-	return wlan_reg_11d_enabled_on_host(mac->psoc);
-}
-
-bool sme_is11h_supported(mac_handle_t mac_handle)
-{
-	struct mac_context *mac = MAC_CONTEXT(mac_handle);
-
-	return csr_is11h_supported(mac);
-}
-
-bool sme_is_wmm_supported(mac_handle_t mac_handle)
-{
-	struct mac_context *mac = MAC_CONTEXT(mac_handle);
-
-	return csr_is_wmm_supported(mac);
-}
-
 /*
  * sme_generic_change_country_code() -
  * Change Country code from upperlayer during WLAN driver operation.