Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amd/amdgpu/gfx_v7_0: Remove unused struct definition

Fixes the following W=1 kernel build warning(s):

drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:5211:45: warning: ‘gfx_v7_0_ip_block’ defined but not used [-Wunused-const-variable=]

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Cc: amd-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org
Cc: linux-media@vger.kernel.org
Cc: linaro-mm-sig@lists.linaro.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Lee Jones and committed by
Alex Deucher
b3d65296 048df826

-10
-9
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
··· 5208 5208 cu_info->lds_size = 64; 5209 5209 } 5210 5210 5211 - static const struct amdgpu_ip_block_version gfx_v7_0_ip_block = 5212 - { 5213 - .type = AMD_IP_BLOCK_TYPE_GFX, 5214 - .major = 7, 5215 - .minor = 0, 5216 - .rev = 0, 5217 - .funcs = &gfx_v7_0_ip_funcs, 5218 - }; 5219 - 5220 5211 const struct amdgpu_ip_block_version gfx_v7_1_ip_block = 5221 5212 { 5222 5213 .type = AMD_IP_BLOCK_TYPE_GFX,
-1
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.h
··· 24 24 #ifndef __GFX_V7_0_H__ 25 25 #define __GFX_V7_0_H__ 26 26 27 - extern const struct amdgpu_ip_block_version gfx_v7_0_ip_block; 28 27 extern const struct amdgpu_ip_block_version gfx_v7_1_ip_block; 29 28 extern const struct amdgpu_ip_block_version gfx_v7_2_ip_block; 30 29 extern const struct amdgpu_ip_block_version gfx_v7_3_ip_block;