mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
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
This commit is contained in:
parent
ba04f224ad
commit
ccb2408244
2 changed files with 0 additions and 25 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue