diff --git a/drivers/gpu/arm/bifrost/mali_kbase_jd.c b/drivers/gpu/arm/bifrost/mali_kbase_jd.c index fb187208ffe5..d0674d1bd8f4 100644 --- a/drivers/gpu/arm/bifrost/mali_kbase_jd.c +++ b/drivers/gpu/arm/bifrost/mali_kbase_jd.c @@ -1053,21 +1053,6 @@ static bool jd_submit_atom(struct kbase_context *const kctx, return jd_done_nolock(katom, NULL); } - - if (katom->core_req & BASE_JD_REQ_SOFT_JOB) { - /* This softjob has failed due to a previous - * dependency, however we should still run the - * prepare & finish functions - */ - if (kbase_prepare_soft_job(katom) != 0) { - katom->event_code = - BASE_JD_EVENT_JOB_INVALID; - return jd_done_nolock(katom, NULL); - } - } - - katom->will_fail_event_code = katom->event_code; - return false; } /* These must occur after the above loop to ensure that an atom