diff options
| author | Srinivasan Shanmugam <[email protected]> | 2023-05-24 15:07:26 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-06-09 15:00:53 +0000 |
| commit | a09e2065101a343ac3a709aa6236cdac874627eb (patch) | |
| tree | ce9030656f886073bead31f3f96d5bd632438dfc /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
| parent | drm/amdgpu: Fix return types of certain NBIOv7.9 callbacks (diff) | |
| download | kernel-a09e2065101a343ac3a709aa6236cdac874627eb.tar.gz kernel-a09e2065101a343ac3a709aa6236cdac874627eb.zip | |
drm/amdgpu: Fix defined but not used gfx9_cs_data in gfx_v9_4_3.c
gcc with W=1
In file included from drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c:33:
drivers/gpu/drm/amd/amdgpu/clearstate_gfx9.h:939:36: warning: ‘gfx9_cs_data’ defined but not used [-Wunused-const-variable=]
939 | static const struct cs_section_def gfx9_cs_data[] = {
|
gfx9_cs_data is not used in gfx_v9_4_3.c, hence remove its
include in gfx_v9_4_3.c
Cc: Christian König <[email protected]>
Cc: Alex Deucher <[email protected]>
Signed-off-by: Srinivasan Shanmugam <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions
