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:
9f436a0
)
drm/amdgpu: remove structurally dead code for amd_gmc
author
Jesse Zhang
<jesse.zhang@amd.com>
Wed, 8 May 2024 10:17:43 +0000
(18:17 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Mon, 13 May 2024 20:11:53 +0000
(16:11 -0400)
This code cannot be reached: return sysfs_emit(buf, "UNK....)
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_gmc.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
index
a5f970f
..
f8ed886
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
@@
-1148,8
+1148,6
@@
static ssize_t current_memory_partition_show(
default:
return sysfs_emit(buf, "UNKNOWN\n");
}
-
- return sysfs_emit(buf, "UNKNOWN\n");
}
static DEVICE_ATTR_RO(current_memory_partition);