summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
diff options
context:
space:
mode:
authorJesse Zhang <jesse.zhang@amd.com>2024-05-08 13:14:13 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-05-13 23:12:02 +0300
commit68de5d31b15b4c923da4c8b7df7d4046139f9f80 (patch)
tree751c36b95f3599df1712ca1c693aba0805c5c10d /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
parent1a296827feef4dbad1e2863b0e2d7d7d8afc781a (diff)
downloadlinux-68de5d31b15b4c923da4c8b7df7d4046139f9f80.tar.xz
drm/amdgpu: remove structurally dead code
This code cannot be reached: return "UNKNOWN";. Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com> Reviewed-by: Tim Huang <Tim.Huang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
index 9a946f0e015c..109f471ff315 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
@@ -554,8 +554,6 @@ static inline const char *amdgpu_gfx_compute_mode_desc(int mode)
default:
return "UNKNOWN";
}
-
- return "UNKNOWN";
}
#endif