ソースを参照

qcacld-3.0: Remove sme_cfg_set_str()

Change Ib943f9de70a78ba5d5e87d81c76b20341893f8e9 ("qcacld-3.0:
Enable MAC provisioning from ini") removed the last client of
sme_cfg_set_str(). Since the CFG is being phased out there
should not be any new clients for this function, so remove it.

Change-Id: Ie97bb639423ceb0be41dab686d85dae46e4acff7
CRs-Fixed: 2370882
Jeff Johnson 6 年 前
コミット
ccb2408244
2 ファイル変更0 行追加25 行削除
  1. 0 2
      core/sme/inc/sme_api.h
  2. 0 23
      core/sme/src/common/sme_api.c

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

@@ -607,8 +607,6 @@ QDF_STATUS sme_set_plm_request(mac_handle_t mac_handle, tpSirPlmReq pPlm);
 #endif /*FEATURE_WLAN_ESE */
 QDF_STATUS sme_cfg_set_int(mac_handle_t mac_handle, uint16_t cfg_id,
 			   uint32_t value);
-QDF_STATUS sme_cfg_set_str(mac_handle_t mac_handle, uint16_t cfg_id,
-			   uint8_t *str, uint32_t length);
 QDF_STATUS sme_cfg_get_int(mac_handle_t mac_handle, uint16_t cfg_id,
 			   uint32_t *cfg_value);
 QDF_STATUS sme_cfg_get_str(mac_handle_t mac_handle, uint16_t cfg_id,

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

@@ -3710,29 +3710,6 @@ QDF_STATUS sme_cfg_set_int(mac_handle_t mac_handle, uint16_t cfg_id,
 	return status;
 }
 
-/**
- * sme_cfg_set_str() - Sets the cfg parameter string.
- * @mac_handle:	Opaque handle to the global MAC context.
- * @cfg_id:	Configuration parameter ID.
- * @str:	Pointer to the string buffer.
- * @length:	Length of the string.
- *
- * This function sets the string value in cfg parameter.
- *
- * Return: QDF_STATUS
- */
-QDF_STATUS sme_cfg_set_str(mac_handle_t mac_handle, uint16_t cfg_id,
-			   uint8_t *str, uint32_t length)
-{
-	struct mac_context *pmac = MAC_CONTEXT(mac_handle);
-	QDF_STATUS status = QDF_STATUS_SUCCESS;
-
-	if (QDF_STATUS_SUCCESS != cfg_set_str(pmac, cfg_id, str, length))
-		status = QDF_STATUS_E_FAILURE;
-
-	return status;
-}
-
 /**
  * sme_cfg_get_int() -  Gets the cfg parameter value.
  * @mac_handle:	Opaque handle to the global MAC context.