mb/amd/mayan: Remove useless break after return

Change-Id: Iad0244e798c03a26f755024453ecdd745e6286f3
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76473
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Elyes Haouas
2023-07-14 17:38:14 +02:00
parent 6fedb56fd4
commit 6319ee2cf7

View File

@@ -139,15 +139,12 @@ static uint8_t get_ddi1_type(void)
case 0xc: case 0xc:
printk(BIOS_DEBUG, "Configuring DDI1 as HDMI.\n"); printk(BIOS_DEBUG, "Configuring DDI1 as HDMI.\n");
return DDI_HDMI; return DDI_HDMI;
break;
case 0x13: case 0x13:
printk(BIOS_DEBUG, "Configuring DDI1 as DP.\n"); printk(BIOS_DEBUG, "Configuring DDI1 as DP.\n");
return DDI_DP; return DDI_DP;
break;
case 0x14: case 0x14:
printk(BIOS_DEBUG, "Configuring DDI1 as eDP.\n"); printk(BIOS_DEBUG, "Configuring DDI1 as eDP.\n");
return DDI_EDP; return DDI_EDP;
break;
default: default:
printk(BIOS_WARNING, "Unexpected display connector type %x. Disabling DDI1.\n", printk(BIOS_WARNING, "Unexpected display connector type %x. Disabling DDI1.\n",
connector_type); connector_type);