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 5a143ca02cf9a6c92ab9d39710ca7b5784badbf7..cd0acbea75da69efaf39f108563352094d5f6182 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);