qcacmn: Remove copy_vdev_create_pdev_id under CONFIG_MCL

Use common definition for copy_vdev_create_pdev_id and remove
copy_vdev_create_pdev_id defined under CONFIG_MCL.

Change-Id: Ie8421d519970cae28f003b435aebabb5a935bebd
CRs-Fixed: 2492726
此提交包含在:
Pragaspathi Thilagaraj
2019-07-18 18:07:30 +05:30
提交者 nshrivas
父節點 8cf0c34663
當前提交 6d8ef39a55

查看文件

@@ -539,15 +539,6 @@ static void wmi_tlv_pdev_id_conversion_enable(wmi_unified_t wmi_handle)
*
* Return: None
*/
#ifdef CONFIG_MCL
static inline void copy_vdev_create_pdev_id(
struct wmi_unified *wmi_handle,
wmi_vdev_create_cmd_fixed_param * cmd,
struct vdev_create_params *param)
{
cmd->pdev_id = WMI_PDEV_ID_SOC;
}
#else
static inline void copy_vdev_create_pdev_id(
struct wmi_unified *wmi_handle,
wmi_vdev_create_cmd_fixed_param * cmd,
@@ -556,7 +547,6 @@ static inline void copy_vdev_create_pdev_id(
cmd->pdev_id = wmi_handle->ops->convert_pdev_id_host_to_target(
param->pdev_id);
}
#endif
void wmi_mtrace(uint32_t message_id, uint16_t vdev_id, uint32_t data)
{