mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-18 06:33:43 -04:00
drm/amdgpu: remove structurally dead code for amd_gmc
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>
This commit is contained in:
committed by
Alex Deucher
parent
9f436a0075
commit
e2bff63ba6
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user