drm/amdgpu: simplify the logic in amdgpu_device_parse_gpu_info_fw()
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 24 May 2022 13:55:51 +0000 (09:55 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 3 Jun 2022 20:45:00 +0000 (16:45 -0400)
commit1d6c363330834fa534c1c7ee01620ff134aade1f
tree76f825875bfcbdac7c4906025218388d18ca03b4
parent9d6b2041761ff6d5a33941919c8b5a805ecbed6c
drm/amdgpu: simplify the logic in amdgpu_device_parse_gpu_info_fw()

Drop all of the extra cases in the default case.

Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c