From c0b25911ada4c8582642ff6f6dd16d50797ec193 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Fri, 14 Oct 2016 09:54:48 -0700 Subject: [PATCH] qcacld-3.0: Remove ol_txrx_ipa_uc_fw_op_event_handler() Recently the following change removed the only reference to function ol_txrx_ipa_uc_fw_op_event_handler(): Change-Id Iae45c059006592293ea61d04be89b1477daae514 "qcacld-3.0: Fix HTT_T2H_MSG_TYPE_WDI_IPA_OP_RESPONSE handler" Since the function is now obsolete, remove it. Change-Id: I10d8ee7ef9a97d1eb5283e08c786826005fbd335 CRs-Fixed: 1075151 --- core/dp/txrx/ol_txrx.c | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/core/dp/txrx/ol_txrx.c b/core/dp/txrx/ol_txrx.c index 19f4f2958d89..8427741c0a24 100644 --- a/core/dp/txrx/ol_txrx.c +++ b/core/dp/txrx/ol_txrx.c @@ -4118,36 +4118,6 @@ ol_txrx_ipa_uc_set_active(ol_txrx_pdev_handle pdev, bool uc_active, bool is_tx) htt_h2t_ipa_uc_set_active(pdev->htt_pdev, uc_active, is_tx); } -/** - * ol_txrx_ipa_uc_fw_op_event_handler() - opcode event handler - * @context: pdev context - * @rxpkt: received packet - * @staid: peer id - * - * Return: None - */ -void ol_txrx_ipa_uc_fw_op_event_handler(void *context, - void *rxpkt, - uint16_t staid) -{ - ol_txrx_pdev_handle pdev = (ol_txrx_pdev_handle)context; - - if (qdf_unlikely(!pdev)) { - QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR, - "%s: Invalid context", __func__); - qdf_mem_free(rxpkt); - return; - } - - if (pdev->ipa_uc_op_cb) { - pdev->ipa_uc_op_cb(rxpkt, pdev->osif_dev); - } else { - QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR, - "%s: ipa_uc_op_cb NULL", __func__); - qdf_mem_free(rxpkt); - } -} - /** * ol_txrx_ipa_uc_op_response() - Handle OP command response from firmware * @pdev: handle to the HTT instance