[PATCH] drm/amdgpu/df3.6: remove unused variable

Liu, Zhan Zhan.Liu at amd.com
Mon Jan 13 18:55:14 UTC 2020


> -----Original Message-----
> From: amd-gfx <amd-gfx-bounces at lists.freedesktop.org> On Behalf Of Alex
> Deucher
> Sent: 2020/January/13, Monday 1:42 PM
> To: amd-gfx list <amd-gfx at lists.freedesktop.org>
> Cc: Deucher, Alexander <Alexander.Deucher at amd.com>
> Subject: Re: [PATCH] drm/amdgpu/df3.6: remove unused variable
> 
> Ping?
> 
> Alex
> 
> On Fri, Jan 10, 2020 at 7:22 PM Alex Deucher <alexdeucher at gmail.com>
> wrote:
> >
> > Unused so drop it.
> >
> > Signed-off-by: Alex Deucher <alexander.deucher at amd.com>

Reviewed-by: Zhan Liu <zhan.liu at amd.com> 

> > ---
> >  drivers/gpu/drm/amd/amdgpu/df_v3_6.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/gpu/drm/amd/amdgpu/df_v3_6.c
> > b/drivers/gpu/drm/amd/amdgpu/df_v3_6.c
> > index 3761c8cc1156..f51326598a8c 100644
> > --- a/drivers/gpu/drm/amd/amdgpu/df_v3_6.c
> > +++ b/drivers/gpu/drm/amd/amdgpu/df_v3_6.c
> > @@ -264,7 +264,7 @@ static DEVICE_ATTR(df_cntr_avail, S_IRUGO,
> > df_v3_6_get_df_cntr_avail, NULL);
> >
> >  static void df_v3_6_query_hashes(struct amdgpu_device *adev)  {
> > -       u32 chan_cfg, tmp;
> > +       u32 tmp;
> >
> >         adev->df.hash_status.hash_64k = false;
> >         adev->df.hash_status.hash_2m = false;
> > --
> > 2.24.1
> >
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org



More information about the amd-gfx mailing list