diff options
author | Christian König <christian.koenig@amd.com> | 2016-05-18 13:12:12 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-07-07 14:50:52 -0400 |
commit | 1e24e31f22a69e0983c3dbc31dc725cd940ad258 (patch) | |
tree | 08112b7816b1fd661ba4405d1d1587b6d446261e /drivers/gpu/drm/amd/scheduler/gpu_scheduler.h | |
parent | 1ab0d211f3b81464f82caccd58f3f8204ad72c97 (diff) | |
download | linux-1e24e31f22a69e0983c3dbc31dc725cd940ad258.tar.gz linux-1e24e31f22a69e0983c3dbc31dc725cd940ad258.tar.bz2 linux-1e24e31f22a69e0983c3dbc31dc725cd940ad258.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/scheduler/gpu_scheduler.h')
-rw-r--r-- | drivers/gpu/drm/amd/scheduler/gpu_scheduler.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/scheduler/gpu_scheduler.h b/drivers/gpu/drm/amd/scheduler/gpu_scheduler.h index ec55b9f073d1..7e333fa08539 100644 --- a/drivers/gpu/drm/amd/scheduler/gpu_scheduler.h +++ b/drivers/gpu/drm/amd/scheduler/gpu_scheduler.h @@ -82,7 +82,6 @@ struct amd_sched_job { struct amd_gpu_scheduler *sched; struct amd_sched_entity *s_entity; struct amd_sched_fence *s_fence; - bool use_sched; /* true if the job goes to scheduler */ struct fence_cb cb_free_job; struct work_struct work_free_job; struct list_head node; |