qcacld-3.0: Update wma_discard_fw_event

Update return type of wma_discard_fw_event to return QDF_STATUS
to match scheduler_msg_process_fn_t.

Change-Id: I1746b170318be30810ddf7cc6be8156a3940b595
CRs-fixed: 2698308
This commit is contained in:
Lincoln Tran 2020-05-19 16:39:52 -07:00 • committed by nshrivas
commit cf98b324aa

View file

@ -1462,15 +1462,17 @@ QDF_STATUS wma_process_hal_pwr_dbg_cmd(WMA_HANDLE handle,
return status;
}
static void wma_discard_fw_event(struct scheduler_msg *msg)
static QDF_STATUS wma_discard_fw_event(struct scheduler_msg *msg)
{
if (!msg->bodyptr)
return;
return QDF_STATUS_E_INVAL;
qdf_mem_free(msg->bodyptr);
msg->bodyptr = NULL;
msg->bodyval = 0;
msg->type = 0;
return QDF_STATUS_SUCCESS;
}
QDF_STATUS