]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0d8b5336a17aa66057bdecc4604d4dd6ab0152fc
tree9cfeb6ecfbea50589e51286d4fbd334c7df73ffe
parentb255778d9a32e7b78b1d7b0690924dac56ba8ed5
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