siemens/mc_tcu3: Remove unneeded variable assignment
Assigning the value `1` to `status` in the default branch of the switch statement is not needed, as the stored value is overwritten before it can be used. Change-Id: I532b0e217ff4ed315cd30b08d339c755c6df7539 Found-by: Coverity, CID 1355008: Code maintainability issues (UNUSED_VALUE)) Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-on: https://review.coreboot.org/14699 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
1e162bf8bd
commit
7802119005
|
@ -66,7 +66,6 @@ int setup_lcd_panel(void)
|
|||
break;
|
||||
default:
|
||||
printk(BIOS_ERR, "LCD: No supported panel found.\n");
|
||||
status = 1;
|
||||
break;
|
||||
}
|
||||
/* Now that we have the panel type, setup the DP2LVDS converter */
|
||||
|
|
Loading…
Reference in New Issue