Ver código fonte

qcacld-3.0: Remove wma_get_wcnss_software_version()

Change Ief51bcf611d5d5759fa04e05c0bb4d96e44c7a29 ("qcacld-3.0:
Remove sme_get_wcnss_*_version()") removed the last client of
wma_get_wcnss_software_version(). Since this function is obsolete,
remove it.

Change-Id: Ie3e8fcb48e45deebc750c9886f268d5306a7b705
CRs-Fixed: 2371195
Jeff Johnson 6 anos atrás
pai
commit
5b21359f5e
2 arquivos alterados com 0 adições e 32 exclusões
  1. 0 10
      core/wma/inc/wma_api.h
  2. 0 22
      core/wma/src/wma_utils.c

+ 0 - 10
core/wma/inc/wma_api.h

@@ -134,16 +134,6 @@ int wma_cli_set2_command(int vdev_id, int param_id, int sval1,
 
 QDF_STATUS wma_set_htconfig(uint8_t vdev_id, uint16_t ht_capab, int value);
 
-/**
- * wma_get_wcnss_software_version() - get wcnss software version
- * @version: version pointer
- * @version_buffer_size: buffer size
- *
- * Return: QDF_STATUS_SUCCESS for success or error code
- */
-QDF_STATUS wma_get_wcnss_software_version(uint8_t *version,
-					  uint32_t version_buffer_size);
-
 void wma_set_peer_authorized_cb(void *wma_ctx, wma_peer_authorized_fp auth_cb);
 QDF_STATUS wma_set_peer_param(void *wma_ctx, uint8_t *peer_addr,
 		  uint32_t param_id,

+ 0 - 22
core/wma/src/wma_utils.c

@@ -4032,28 +4032,6 @@ struct wma_txrx_node  *wma_get_interface_by_vdev_id(uint8_t vdev_id)
 	return &wma->interfaces[vdev_id];
 }
 
-QDF_STATUS wma_get_wcnss_software_version(uint8_t *version,
-					  uint32_t version_buffer_size)
-{
-	tp_wma_handle wma_handle = cds_get_context(QDF_MODULE_ID_WMA);
-	struct target_psoc_info *tgt_hdl;
-
-	if (NULL == wma_handle) {
-		WMA_LOGE("%s: Failed to get wma", __func__);
-		return QDF_STATUS_E_FAULT;
-	}
-
-	tgt_hdl = wlan_psoc_get_tgt_if_handle(wma_handle->psoc);
-	if (!tgt_hdl) {
-		WMA_LOGE("%s: Failed to get wma", __func__);
-		return QDF_STATUS_E_FAULT;
-	}
-
-	snprintf(version, version_buffer_size, "%x",
-		 target_if_get_fw_version(tgt_hdl));
-	return QDF_STATUS_SUCCESS;
-}
-
 /**
  * wma_update_intf_hw_mode_params() - Update WMA params
  * @vdev_id: VDEV id whose params needs to be updated