aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c
diff options
context:
space:
mode:
authorSergio Miguéns Iglesias <[email protected]>2021-08-09 12:00:50 +0000
committerAlex Deucher <[email protected]>2021-08-09 19:44:50 +0000
commit6940db0fd1bed864de7bd21202e4716455f12204 (patch)
tree417beb77f0a6a790f1c82a27eaef7dc245dd90a5 /drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c
parentdrm/amdgpu: fix kernel-doc warnings on non-kernel-doc comments (diff)
downloadkernel-6940db0fd1bed864de7bd21202e4716455f12204.tar.gz
kernel-6940db0fd1bed864de7bd21202e4716455f12204.zip
drm/amdgpu: Removed unnecessary if statement
There was an "if" statement that did nothing so it was removed. Signed-off-by: Sergio Miguéns Iglesias <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c
index 5a143ca02cf9..cd0acbea75da 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c
@@ -273,9 +273,6 @@ static int amdgpufb_create(struct drm_fb_helper *helper,
return 0;
out:
- if (abo) {
-
- }
if (fb && ret) {
drm_gem_object_put(gobj);
drm_framebuffer_unregister_private(fb);