AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Christian König" <ckoenig.leichtzumerken@gmail.com>
To: Anson Jacob <Anson.Jacob@amd.com>,
	amd-gfx@lists.freedesktop.org, "Pan, Xinhui" <Xinhui.Pan@amd.com>
Subject: Re: [PATCH] drm/amdgpu: Remove ununsed variable from amdgpu_ib_pool_init
Date: Mon, 13 Sep 2021 21:16:35 +0200	[thread overview]
Message-ID: <d3c58706-93cf-47f4-c31c-762aaf8340c7@gmail.com> (raw)
In-Reply-To: <20210913172751.2008689-1-Anson.Jacob@amd.com>

Am 13.09.21 um 19:27 schrieb Anson Jacob:
> Remove unused variable 'size'.
>
> Signed-off-by: Anson Jacob <Anson.Jacob@amd.com>

Yeah, that's because of the recent change that we now use the same size 
for everything.

Reviewed-by: Christian König <christian.koenig@amd.com>

> ---
>   drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
> index 9274f32c3661..bc1297dcdf97 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
> @@ -300,7 +300,6 @@ int amdgpu_ib_schedule(struct amdgpu_ring *ring, unsigned num_ibs,
>    */
>   int amdgpu_ib_pool_init(struct amdgpu_device *adev)
>   {
> -	unsigned size;
>   	int r, i;
>   
>   	if (adev->ib_pool_ready)


      parent reply	other threads:[~2021-09-13 19:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-13 17:27 [PATCH] drm/amdgpu: Remove ununsed variable from amdgpu_ib_pool_init Anson Jacob
2021-09-13 17:48 ` Alex Deucher
2021-09-13 19:16 ` Christian König [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d3c58706-93cf-47f4-c31c-762aaf8340c7@gmail.com \
    --to=ckoenig.leichtzumerken@gmail.com \
    --cc=Anson.Jacob@amd.com \
    --cc=Xinhui.Pan@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox