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:
Surya Prakash
2019-01-30 14:54:25 +05:30
committed by nshrivas
parent d4b7e3b572
commit 1f0930190b
2 changed files with 5 additions and 3 deletions

View File

@@ -1612,6 +1612,7 @@ uint16_t wmi_get_max_msg_len(wmi_unified_t wmi_handle)
}
qdf_export_symbol(wmi_get_max_msg_len);
#ifdef CONFIG_MCL
#ifndef WMI_CMD_STRINGS
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
#ifdef CONFIG_MCL
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",