drm/amdgpu: cleanup coding style in amdgpu_vm_flush
authorChristian König <christian.koenig@amd.com>
Mon, 3 Apr 2017 12:16:07 +0000 (14:16 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Apr 2017 03:34:09 +0000 (23:34 -0400)
commitc0e51931a1cf35be9f146b44e2b9e7ac575fa411
tree9cfeb6ecfbea50589e51286d4fbd334c7df73ffe
parent641e94008970ef7dba764a3c672ec8bd40b9a533
drm/amdgpu: cleanup coding style in amdgpu_vm_flush

Abort early if there is nothing todo and correctly indent the "if"s.

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