From: Alex Deucher Date: Wed, 29 Sep 2021 16:06:03 +0000 (-0400) Subject: drm/amdgpu: consolidate case statements X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=4b3a624c4c6a4dd80d00c188b9925703a0fb39bf;p=linux.git drm/amdgpu: consolidate case statements IP_VERSION(11, 0, 13) does the exact same thing as IP_VERSION(11, 0, 12) so squash them together. Reviewed-by: Christian König Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c b/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c index 382cebfc2069f..aaf200ec982b9 100644 --- a/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c +++ b/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c @@ -216,13 +216,6 @@ static int psp_v11_0_init_microcode(struct psp_context *psp) case IP_VERSION(11, 0, 7): case IP_VERSION(11, 0, 11): case IP_VERSION(11, 0, 12): - err = psp_init_sos_microcode(psp, chip_name); - if (err) - return err; - err = psp_init_ta_microcode(psp, chip_name); - if (err) - return err; - break; case IP_VERSION(11, 0, 13): err = psp_init_sos_microcode(psp, chip_name); if (err)