[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CADnq5_NuDDMaKzAm0pRo1dQ-PQ+niibM7u3_1vcAvC4DnP4Ufw@mail.gmail.com>
Date: Mon, 9 Aug 2021 14:37:48 -0400
From: Alex Deucher <alexdeucher@...il.com>
To: Sergio Miguéns Iglesias <lonyelon@...il.com>
Cc: "Deucher, Alexander" <alexander.deucher@....com>,
Christian Koenig <christian.koenig@....com>,
xinhui pan <Xinhui.Pan@....com>,
Dave Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>,
Hawking Zhang <Hawking.Zhang@....com>,
"Kuehling, Felix" <Felix.Kuehling@....com>,
Huang Rui <ray.huang@....com>,
Lee Jones <lee.jones@...aro.org>,
amd-gfx list <amd-gfx@...ts.freedesktop.org>,
Maling list - DRI developers
<dri-devel@...ts.freedesktop.org>,
LKML <linux-kernel@...r.kernel.org>,
Sergio Miguéns Iglesias <sergio@...y.xyz>
Subject: Re: [PATCH] drm/amdgpu: Removed unnecessary if statement
On Mon, Aug 9, 2021 at 9:59 AM Sergio Miguéns Iglesias
<lonyelon@...il.com> wrote:
>
> There was an "if" statement that did nothing so it was removed.
>
> Signed-off-by: Sergio Miguéns Iglesias <sergio@...y.xyz>
Applied. Thanks!
Alex
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c
> index 09b048647523..5eb3869d029e 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);
> --
> 2.32.0
>
Powered by blists - more mailing lists