From 3558ddfc619bb667d06fa6ac47ff0ec121beb159 Mon Sep 17 00:00:00 2001 From: Alok Kumar Date: Wed, 17 Jul 2019 17:27:57 +0530 Subject: [PATCH] qcacmn: Remove the CONFIG_MCL for rx_reorder_queue_remove_cmd On MCL side, crash_on_send_peer_rx_reorder_queue_remove_cmd causes a crash if command is sent by host. Currently no one is using this API from MCL side and for non MCL this is No-OP. Removing this API and CONFIG_MCL as from MCL side no one is calling this. Change-Id: I5393074913ccd6b39ca2e31e081783c4b614bd43 CRs-Fixed: 2490819 --- wmi/src/wmi_unified_tlv.c | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/wmi/src/wmi_unified_tlv.c b/wmi/src/wmi_unified_tlv.c index 5a0ef87513..eda6801dc1 100644 --- a/wmi/src/wmi_unified_tlv.c +++ b/wmi/src/wmi_unified_tlv.c @@ -1160,28 +1160,6 @@ static QDF_STATUS send_peer_delete_all_cmd_tlv( return QDF_STATUS_SUCCESS; } -/** - * crash_on_send_peer_rx_reorder_queue_remove_cmd() - crash on reorder queue cmd - * - * On MCL side, we are suspecting this cmd to trigger drop of ARP - * response frames from REO by the FW. This function causes a crash if this - * command is sent out by the host, so we can track this issue. Ideally no one - * should be calling this API from the MCL side - * - * Return: None - */ -#ifdef CONFIG_MCL -static void crash_on_send_peer_rx_reorder_queue_remove_cmd(void) -{ - QDF_BUG(0); -} -#else -static void crash_on_send_peer_rx_reorder_queue_remove_cmd(void) -{ - /* No-OP */ -} -#endif - /** * convert_host_peer_param_id_to_target_id_tlv - convert host peer param_id * to target id. @@ -1403,8 +1381,6 @@ QDF_STATUS send_peer_rx_reorder_queue_remove_cmd_tlv(wmi_unified_t wmi, wmi_buf_t buf; int32_t len = sizeof(*cmd); - crash_on_send_peer_rx_reorder_queue_remove_cmd(); - buf = wmi_buf_alloc(wmi, len); if (!buf) return QDF_STATUS_E_NOMEM;