From 6d8ef39a55009f63ba09c1cbbf67f25dff45db3f Mon Sep 17 00:00:00 2001 From: Pragaspathi Thilagaraj Date: Thu, 18 Jul 2019 18:07:30 +0530 Subject: [PATCH] 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 --- wmi/src/wmi_unified_tlv.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/wmi/src/wmi_unified_tlv.c b/wmi/src/wmi_unified_tlv.c index eda6801dc10c..0ad00e3c39ca 100644 --- a/wmi/src/wmi_unified_tlv.c +++ b/wmi/src/wmi_unified_tlv.c @@ -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) {