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:
Paul Menzel 2016-05-07 08:18:18 +02:00 committed by Stefan Reinauer
parent 1e162bf8bd
commit 7802119005
1 changed files with 0 additions and 1 deletions

View File

@ -66,7 +66,6 @@ int setup_lcd_panel(void)
break; break;
default: default:
printk(BIOS_ERR, "LCD: No supported panel found.\n"); printk(BIOS_ERR, "LCD: No supported panel found.\n");
status = 1;
break; break;
} }
/* Now that we have the panel type, setup the DP2LVDS converter */ /* Now that we have the panel type, setup the DP2LVDS converter */