From 6319ee2cf791287e1e1fc56d1755e60a5eaeb2e6 Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Fri, 14 Jul 2023 17:38:14 +0200 Subject: mb/amd/mayan: Remove useless break after return Change-Id: Iad0244e798c03a26f755024453ecdd745e6286f3 Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/76473 Reviewed-by: Felix Held Tested-by: build bot (Jenkins) --- src/mainboard/amd/mayan/port_descriptors.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/mainboard') diff --git a/src/mainboard/amd/mayan/port_descriptors.c b/src/mainboard/amd/mayan/port_descriptors.c index 7d14e8c52c..61cf8b289f 100644 --- a/src/mainboard/amd/mayan/port_descriptors.c +++ b/src/mainboard/amd/mayan/port_descriptors.c @@ -139,15 +139,12 @@ static uint8_t get_ddi1_type(void) case 0xc: printk(BIOS_DEBUG, "Configuring DDI1 as HDMI.\n"); return DDI_HDMI; - break; case 0x13: printk(BIOS_DEBUG, "Configuring DDI1 as DP.\n"); return DDI_DP; - break; case 0x14: printk(BIOS_DEBUG, "Configuring DDI1 as eDP.\n"); return DDI_EDP; - break; default: printk(BIOS_WARNING, "Unexpected display connector type %x. Disabling DDI1.\n", connector_type); -- cgit v1.2.3