drm/amdgpu: cleanup the sync code
authorChristian König <christian.koenig@amd.com>
Tue, 16 Feb 2016 15:23:02 +0000 (16:23 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 8 Mar 2016 16:01:46 +0000 (11:01 -0500)
commitbcc634f4a8f10a851dd3d8429ea28998351ca843
treebb445fa5dfab32b0547db6c3a6601549c03c64cb
parent637dd3b5ca9e0d38b046f04e97a1d2f7523e7e25
drm/amdgpu: cleanup the sync code

No need for two functions doing the same, remove one and
add comments what those functions actually do.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c