drm/amdgpu:cleanup no needed braces
authorMonk Liu <Monk.Liu@amd.com>
Thu, 9 Feb 2017 05:42:27 +0000 (13:42 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:52:47 +0000 (23:52 -0400)
Signed-off-by: Monk Liu <Monk.Liu@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_device.c

index c0903afc64331750e0543ea32b6a8a53dada943c..2abb76ae1551cc7e6c57e601434e736f31d8a723 100644 (file)
@@ -1895,19 +1895,16 @@ int amdgpu_device_init(struct amdgpu_device *adev,
        amdgpu_fbdev_init(adev);
 
        r = amdgpu_gem_debugfs_init(adev);
-       if (r) {
+       if (r)
                DRM_ERROR("registering gem debugfs failed (%d).\n", r);
-       }
 
        r = amdgpu_debugfs_regs_init(adev);
-       if (r) {
+       if (r)
                DRM_ERROR("registering register debugfs failed (%d).\n", r);
-       }
 
        r = amdgpu_debugfs_firmware_init(adev);
-       if (r) {
+       if (r)
                DRM_ERROR("registering firmware debugfs failed (%d).\n", r);
-       }
 
        if ((amdgpu_testing & 1)) {
                if (adev->accel_working)