mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-28 21:33:52 +00:00
drm/amdgpu:cleanup no needed braces
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>
This commit is contained in:
parent
7197e18bd0
commit
3f14e62318
1 changed files with 3 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue