[PATCH 2/3] drm/amd: Remove needless break for legacy IP discovery MP0 9.0.0
Mario Limonciello
mario.limonciello at amd.com
Sun Jan 15 19:21:43 UTC 2023
There is already a "default" case in the switch block, so there is
no need to have a break after the switch block.
Signed-off-by: Mario Limonciello <mario.limonciello at amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
index 0d950ae14b27c..26cc529d4fde9 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
@@ -1072,7 +1072,6 @@ static const char *amdgpu_ucode_legacy_naming(struct amdgpu_device *adev, int bl
default:
return NULL;
}
- break;
case IP_VERSION(10, 0, 0):
if (adev->apu_flags & AMD_APU_IS_PICASSO)
return "picasso";
--
2.25.1
More information about the amd-gfx
mailing list