diff --git a/components/pmo/core/src/wlan_pmo_suspend_resume.c b/components/pmo/core/src/wlan_pmo_suspend_resume.c index b0a7c004a48e..f2de7cc44b47 100644 --- a/components/pmo/core/src/wlan_pmo_suspend_resume.c +++ b/components/pmo/core/src/wlan_pmo_suspend_resume.c @@ -1450,7 +1450,6 @@ void pmo_core_psoc_handle_initial_wake_up(void *cb_ctx) { struct pmo_psoc_priv_obj *psoc_ctx; struct wlan_objmgr_psoc *psoc = (struct wlan_objmgr_psoc *)cb_ctx; - QDF_STATUS status; pmo_enter(); if (!psoc) { @@ -1458,17 +1457,9 @@ void pmo_core_psoc_handle_initial_wake_up(void *cb_ctx) goto out; } - status = pmo_psoc_get_ref(psoc); - if (status != QDF_STATUS_SUCCESS) { - pmo_err("Failed to get psoc reference"); - goto out; - } - psoc_ctx = pmo_psoc_get_priv(psoc); pmo_core_update_wow_initial_wake_up(psoc_ctx, true); - pmo_psoc_put_ref(psoc); - out: pmo_exit(); }