projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a29682
)
drm/amdgpu: remove structurally dead code
author
Jesse Zhang
<jesse.zhang@amd.com>
Wed, 8 May 2024 10:14:13 +0000
(18:14 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Mon, 13 May 2024 20:12:02 +0000
(16:12 -0400)
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
index
9a946f0
..
109f471
100644
(file)
--- 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