Re: [PATCH] drm/amdgpu: Remove ununsed variable from amdgpu_ib_pool_init

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux