drm/amdgpu: remove use_shed hack in job cleanup
authorChristian König <christian.koenig@amd.com>
Wed, 18 May 2016 11:12:12 +0000 (13:12 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 18:50:52 +0000 (14:50 -0400)
commit1e24e31f22a69e0983c3dbc31dc725cd940ad258
tree08112b7816b1fd661ba4405d1d1587b6d446261e
parent1ab0d211f3b81464f82caccd58f3f8204ad72c97
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
drivers/gpu/drm/amd/scheduler/gpu_scheduler.c
drivers/gpu/drm/amd/scheduler/gpu_scheduler.h