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

Alex Deucher alexdeucher at gmail.com
Mon Jan 13 18:42:17 UTC 2020


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>
> ---
>  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
>


More information about the amd-gfx mailing list