[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CADnq5_Px7ZreyW7vmHa1JoyynKD+Nd_uWwc=nxe+iSrTnKBs2Q@mail.gmail.com>
Date: Tue, 17 May 2016 16:37:55 -0400
From: Alex Deucher <alexdeucher@...il.com>
To: Muhammad Falak R Wani <falakreyaz@...il.com>
Cc: David Airlie <airlied@...ux.ie>,
Tom St Denis <tom.stdenis@....com>,
Jammy Zhou <Jammy.Zhou@....com>,
LKML <linux-kernel@...r.kernel.org>,
Maling list - DRI developers
<dri-devel@...ts.freedesktop.org>, yanyang1 <young.yang@....com>,
Alex Deucher <alexander.deucher@....com>,
Dave Airlie <airlied@...hat.com>,
Christian König <christian.koenig@....com>
Subject: Re: [PATCH 1/5] drm/amd/amdgpu : Remove unused variable
On Tue, May 17, 2016 at 5:42 AM, Muhammad Falak R Wani
<falakreyaz@...il.com> wrote:
> Remove unused variable 'ret', and directly return 0.
>
> Signed-off-by: Muhammad Falak R Wani <falakreyaz@...il.com>
Applied the series. Thanks!
Alex
> ---
> drivers/gpu/drm/amd/amdgpu/cik_ih.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/cik_ih.c b/drivers/gpu/drm/amd/amdgpu/cik_ih.c
> index f2f14fe..e78c9bd 100644
> --- a/drivers/gpu/drm/amd/amdgpu/cik_ih.c
> +++ b/drivers/gpu/drm/amd/amdgpu/cik_ih.c
> @@ -103,7 +103,6 @@ static void cik_ih_disable_interrupts(struct amdgpu_device *adev)
> */
> static int cik_ih_irq_init(struct amdgpu_device *adev)
> {
> - int ret = 0;
> int rb_bufsz;
> u32 interrupt_cntl, ih_cntl, ih_rb_cntl;
> u64 wptr_off;
> @@ -156,7 +155,7 @@ static int cik_ih_irq_init(struct amdgpu_device *adev)
> /* enable irqs */
> cik_ih_enable_interrupts(adev);
>
> - return ret;
> + return 0;
> }
>
> /**
> --
> 1.9.1
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@...ts.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
Powered by blists - more mailing lists