drm/amdgpu: Removed unnecessary if statement
authorSergio Miguéns Iglesias <lonyelon@gmail.com>
Mon, 9 Aug 2021 12:00:50 +0000 (14:00 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 9 Aug 2021 19:44:50 +0000 (15:44 -0400)
There was an "if" statement that did nothing so it was removed.

Signed-off-by: Sergio Miguéns Iglesias <sergio@lony.xyz>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c

index 5a143ca..cd0acbe 100644 (file)
@@ -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);