[PATCH] drm/amdgpu/df3.6: remove unused variable
Unused so drop it. Signed-off-by: Alex Deucher --- 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@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Re: [PATCH] drm/amdgpu/df3.6: remove unused variable
Ping? Alex On Fri, Jan 10, 2020 at 7:22 PM Alex Deucher wrote: > > Unused so drop it. > > Signed-off-by: Alex Deucher > --- > 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@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx
RE: [PATCH] drm/amdgpu/df3.6: remove unused variable
> -Original Message- > From: amd-gfx On Behalf Of Alex > Deucher > Sent: 2020/January/13, Monday 1:42 PM > To: amd-gfx list > Cc: Deucher, Alexander > Subject: Re: [PATCH] drm/amdgpu/df3.6: remove unused variable > > Ping? > > Alex > > On Fri, Jan 10, 2020 at 7:22 PM Alex Deucher > wrote: > > > > Unused so drop it. > > > > Signed-off-by: Alex Deucher Reviewed-by: Zhan Liu > > --- > > 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@lists.freedesktop.org ___ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx