mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-21 08:03:45 -04:00
drm/amdgpu: remove use_shed hack in job cleanup
Remembering the code path in a variable to cleanup differently is usually not a good idea at all. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Monk.Liu <monk.liu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
1ab0d211f3
commit
1e24e31f22
@@ -373,7 +373,6 @@ void amd_sched_entity_push_job(struct amd_sched_job *sched_job)
|
||||
{
|
||||
struct amd_sched_entity *entity = sched_job->s_entity;
|
||||
|
||||
sched_job->use_sched = 1;
|
||||
fence_add_callback(&sched_job->s_fence->base,
|
||||
&sched_job->cb_free_job, amd_sched_free_job);
|
||||
trace_amd_sched_job(sched_job);
|
||||
|
||||
Reference in New Issue
Block a user