diff options
| author | Jesse Zhang <[email protected]> | 2024-05-08 10:17:43 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-05-13 20:11:53 +0000 |
| commit | e2bff63ba6f875cb879c90758662f193f040d033 (patch) | |
| tree | c5329d24d2d1f3f17fd9ab9f6db9f1aea157317b /drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | |
| parent | drm/amd/pm: check the return of send smc msg for smu_v13 (diff) | |
| download | kernel-e2bff63ba6f875cb879c90758662f193f040d033.tar.gz kernel-e2bff63ba6f875cb879c90758662f193f040d033.zip | |
drm/amdgpu: remove structurally dead code for amd_gmc
This code cannot be reached: return sysfs_emit(buf, "UNK....)
Signed-off-by: Jesse Zhang <[email protected]>
Reviewed-by: Tim Huang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c index a5f970fec242..f8ed886ffca3 100644 --- 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); |
