qcacmn: Clear compilation warnings
Clear compilation warnings for wmi files which has unsued functions in case of some macros aren't defined. Change-Id: If3a9ee68206a44e35f459e3c39d9da2d6f7ba4ba
This commit is contained in:
@@ -1612,6 +1612,7 @@ uint16_t wmi_get_max_msg_len(wmi_unified_t wmi_handle)
|
|||||||
}
|
}
|
||||||
qdf_export_symbol(wmi_get_max_msg_len);
|
qdf_export_symbol(wmi_get_max_msg_len);
|
||||||
|
|
||||||
|
#ifdef CONFIG_MCL
|
||||||
#ifndef WMI_CMD_STRINGS
|
#ifndef WMI_CMD_STRINGS
|
||||||
static uint8_t *wmi_id_to_name(uint32_t wmi_command)
|
static uint8_t *wmi_id_to_name(uint32_t wmi_command)
|
||||||
{
|
{
|
||||||
@@ -1620,7 +1621,6 @@ static uint8_t *wmi_id_to_name(uint32_t wmi_command)
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_MCL
|
|
||||||
static inline void wmi_log_cmd_id(uint32_t cmd_id, uint32_t tag)
|
static inline void wmi_log_cmd_id(uint32_t cmd_id, uint32_t tag)
|
||||||
{
|
{
|
||||||
WMI_LOGD("Send WMI command:%s command_id:%d htc_tag:%d\n",
|
WMI_LOGD("Send WMI command:%s command_id:%d htc_tag:%d\n",
|
||||||
|
@@ -3636,6 +3636,7 @@ static QDF_STATUS send_peer_rate_report_cmd_tlv(wmi_unified_t wmi_handle,
|
|||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef CONFIG_MCL
|
||||||
/**
|
/**
|
||||||
* send_bcn_buf_ll_cmd_tlv() - prepare and send beacon buffer to fw for LL
|
* send_bcn_buf_ll_cmd_tlv() - prepare and send beacon buffer to fw for LL
|
||||||
* @wmi_handle: wmi handle
|
* @wmi_handle: wmi handle
|
||||||
@@ -3678,6 +3679,7 @@ static QDF_STATUS send_bcn_buf_ll_cmd_tlv(wmi_unified_t wmi_handle,
|
|||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
#endif /* CONFIG_MCL */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* send_process_update_edca_param_cmd_tlv() - update EDCA params
|
* send_process_update_edca_param_cmd_tlv() - update EDCA params
|
||||||
@@ -5209,7 +5211,7 @@ send_dfs_phyerr_filter_offload_en_cmd_tlv(wmi_unified_t wmi_handle,
|
|||||||
return QDF_STATUS_SUCCESS;
|
return QDF_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !defined(REMOVE_PKT_LOG)
|
#if !defined(REMOVE_PKT_LOG) && defined(CONFIG_MCL)
|
||||||
/**
|
/**
|
||||||
* send_pktlog_wmi_send_cmd_tlv() - send pktlog enable/disable command to target
|
* send_pktlog_wmi_send_cmd_tlv() - send pktlog enable/disable command to target
|
||||||
* @wmi_handle: wmi handle
|
* @wmi_handle: wmi handle
|
||||||
@@ -5292,7 +5294,7 @@ wmi_send_failed:
|
|||||||
wmi_buf_free(buf);
|
wmi_buf_free(buf);
|
||||||
return QDF_STATUS_E_FAILURE;
|
return QDF_STATUS_E_FAILURE;
|
||||||
}
|
}
|
||||||
#endif /* REMOVE_PKT_LOG */
|
#endif /* !REMOVE_PKT_LOG && CONFIG_MCL*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* send_stats_ext_req_cmd_tlv() - request ext stats from fw
|
* send_stats_ext_req_cmd_tlv() - request ext stats from fw
|
||||||
|
Reference in New Issue
Block a user