drm/amdgpu: cleanup logic in amdgpu_vm_flush
authorChristian König <christian.koenig@amd.com>
Mon, 3 Apr 2017 12:28:26 +0000 (14:28 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Apr 2017 03:34:15 +0000 (23:34 -0400)
commitf7d015b90dd48c94ab43380a735acf2b3c2c62bf
tree51163ee908524d6b915bff2edc1d7db3ab22ee8e
parentc0e51931a1cf35be9f146b44e2b9e7ac575fa411
drm/amdgpu: cleanup logic in amdgpu_vm_flush

Remove some of the extra checks where they don't hurt us.

Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c