All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/amdgpu: Remove ununsed variable from amdgpu_ib_pool_init
@ 2021-09-13 17:27 Anson Jacob
  2021-09-13 17:48 ` Alex Deucher
  2021-09-13 19:16 ` Christian König
  0 siblings, 2 replies; 3+ messages in thread
From: Anson Jacob @ 2021-09-13 17:27 UTC (permalink / raw)
  To: amd-gfx; +Cc: Anson Jacob

Remove unused variable 'size'.

Signed-off-by: Anson Jacob <Anson.Jacob@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)
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm/amdgpu: Remove ununsed variable from amdgpu_ib_pool_init
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Alex Deucher @ 2021-09-13 17:48 UTC (permalink / raw)
  To: Anson Jacob; +Cc: amd-gfx list

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>

On Mon, Sep 13, 2021 at 1:28 PM Anson Jacob <Anson.Jacob@amd.com> wrote:
>
> Remove unused variable 'size'.
>
> Signed-off-by: Anson Jacob <Anson.Jacob@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)
> --
> 2.25.1
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm/amdgpu: Remove ununsed variable from amdgpu_ib_pool_init
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Christian König @ 2021-09-13 19:16 UTC (permalink / raw)
  To: Anson Jacob, amd-gfx, Pan, Xinhui

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)


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-13 19:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.