drm/amdgpu: clean up inconsistent indenting
authorColin Ian King <colin.king@canonical.com>
Thu, 2 Sep 2021 21:45:10 +0000 (22:45 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Sep 2021 17:30:50 +0000 (13:30 -0400)
There are a couple of statements that are indented one character
too deeply, clean these up.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c

index d6aa032..a573424 100644 (file)
@@ -60,10 +60,9 @@ static vm_fault_t amdgpu_gem_fault(struct vm_fault *vmf)
                        goto unlock;
                }
 
-                ret = ttm_bo_vm_fault_reserved(vmf, vmf->vma->vm_page_prot,
-                                               TTM_BO_VM_NUM_PREFAULT, 1);
-
-                drm_dev_exit(idx);
+               ret = ttm_bo_vm_fault_reserved(vmf, vmf->vma->vm_page_prot,
+                                              TTM_BO_VM_NUM_PREFAULT, 1);
+               drm_dev_exit(idx);
        } else {
                ret = ttm_bo_vm_dummy_page(vmf, vmf->vma->vm_page_prot);
        }