浏览代码

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
Jeff Johnson 8 年之前
父节点
当前提交
c0b25911ad
共有 1 个文件被更改,包括 0 次插入30 次删除
  1. 0 30
      core/dp/txrx/ol_txrx.c

+ 0 - 30
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