Subject: linux-next: build warning after merge of the amdgpu tree

From: Stephen Rothwell <[email-masked]>
Date: Thu, 23 Apr 2020 12:24:25 +1000

Hi all,

After merging the amdgpu tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c: In function 'gfx_v8_0_ring_emit_rreg':
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c:6396:21: warning: unused variable 'kiq' [-Wunused-variable]
 6396 |  struct amdgpu_kiq *kiq = &adev->gfx.kiq;
      |                     ^~~
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c: In function 'gfx_v10_0_ring_emit_rreg':
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c:7608:21: warning: unused variable 'kiq' [-Wunused-variable]
 7608 |  struct amdgpu_kiq *kiq = &adev->gfx.kiq;
      |                     ^~~

Introduced by commit

  5e25f26086f6 ("drm/amdgpu: request reg_val_offs each kiq read reg")

-- 
Cheers,
Stephen Rothwell