qcacld-3.0: Remove wma_get_mac_id_of_vdev()

Function wma_get_mac_id_of_vdev() is unused, so remove it.

Change-Id: Id9283aaff4f9c83f427311191cc3d1777810ac91
CRs-Fixed: 2371194
This commit is contained in:
Jeff Johnson
2018-12-19 16:54:05 -08:00
committed by nshrivas
vanhempi 5a8f11a474
commit 7146db75bc
2 muutettua tiedostoa jossa 0 lisäystä ja 25 poistoa

Näytä tiedosto

@@ -167,7 +167,6 @@ void wma_set_fw_wlan_feat_caps(enum cap_bitmap feature);
QDF_STATUS wma_post_ctrl_msg(struct mac_context *mac, struct scheduler_msg *pMsg);
int8_t wma_get_mac_id_of_vdev(uint32_t vdev_id);
void wma_update_intf_hw_mode_params(uint32_t vdev_id, uint32_t mac_id,
uint32_t cfgd_hw_mode_index);
void wma_set_dbs_capability_ut(uint32_t dbs);

Näytä tiedosto

@@ -4054,30 +4054,6 @@ QDF_STATUS wma_get_wcnss_software_version(uint8_t *version,
return QDF_STATUS_SUCCESS;
}
/**
* wma_get_mac_id_of_vdev() - Get MAC id corresponding to a vdev
* @vdev_id: VDEV whose MAC ID is required
*
* Get MAC id corresponding to a vdev id from the WMA structure
*
* Return: Negative value on failure and MAC id on success
*/
int8_t wma_get_mac_id_of_vdev(uint32_t vdev_id)
{
tp_wma_handle wma;
wma = cds_get_context(QDF_MODULE_ID_WMA);
if (!wma) {
WMA_LOGE("%s: Invalid WMA handle", __func__);
return -EINVAL;
}
if (wma->interfaces)
return wma->interfaces[vdev_id].mac_id;
return -EINVAL;
}
/**
* wma_update_intf_hw_mode_params() - Update WMA params
* @vdev_id: VDEV id whose params needs to be updated