From: Monk Liu Date: Thu, 9 Feb 2017 05:42:27 +0000 (+0800) Subject: drm/amdgpu:cleanup no needed braces X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3f14e6231858f4d9a2e965f54202f7a3f69c79d0;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git drm/amdgpu:cleanup no needed braces Signed-off-by: Monk Liu Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index c0903afc6433..2abb76ae1551 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -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)