diff --git a/wmi/inc/wmi_unified_api.h b/wmi/inc/wmi_unified_api.h index 7a524a5711..dafb2e638e 100644 --- a/wmi/inc/wmi_unified_api.h +++ b/wmi/inc/wmi_unified_api.h @@ -121,19 +121,6 @@ typedef qdf_nbuf_t wmi_buf_t; struct wmi_soc; struct policy_mgr_dual_mac_config; -/** - * struct wmi_rx_ops - handle to wmi rx ops - * @scn_handle: handle to scn - * @ev: event buffer - * @rx_ctx: rx execution context - * @wma_process_fw_event_handler_cbk: generic event handler callback - */ -struct wmi_rx_ops { - - int (*wma_process_fw_event_handler_cbk)(ol_scn_t scn_handle, - void *ev, - uint8_t rx_ctx); -}; /** * enum wmi_target_type - type of supported wmi command @@ -177,7 +164,6 @@ struct wmi_unified_attach_params { enum wmi_target_type target_type; bool use_cookie; bool is_async_ep; - struct wmi_rx_ops *rx_ops; struct wlan_objmgr_psoc *psoc; uint16_t max_commands; uint32_t soc_id; diff --git a/wmi/inc/wmi_unified_priv.h b/wmi/inc/wmi_unified_priv.h index e332da8c63..212049b2b6 100644 --- a/wmi/inc/wmi_unified_priv.h +++ b/wmi/inc/wmi_unified_priv.h @@ -2118,7 +2118,6 @@ struct wmi_unified { bool tag_crash_inject; bool tgt_force_assert_enable; enum wmi_target_type target_type; - struct wmi_rx_ops rx_ops; struct wmi_ops *ops; bool use_cookie; bool wmi_stopinprogress; diff --git a/wmi/src/wmi_unified.c b/wmi/src/wmi_unified.c index 88b475e34b..cdb39a8fed 100644 --- a/wmi/src/wmi_unified.c +++ b/wmi/src/wmi_unified.c @@ -2753,9 +2753,6 @@ void *wmi_unified_attach(void *scn_handle, goto error; } wmi_interface_logging_init(wmi_handle, WMI_HOST_PDEV_ID_0); - /* Attach mc_thread context processing function */ - wmi_handle->rx_ops.wma_process_fw_event_handler_cbk = - param->rx_ops->wma_process_fw_event_handler_cbk; wmi_handle->target_type = param->target_type; soc->target_type = param->target_type;