]> Git Repo - linux.git/commitdiff
drm/amdgpu: Removed unnecessary if statement
authorSergio Miguéns Iglesias <[email protected]>
Mon, 9 Aug 2021 12:00:50 +0000 (14:00 +0200)
committerAlex Deucher <[email protected]>
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 <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
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);
This page took 0.05846 seconds and 4 git commands to generate.