From 079feec561c3433f0e64e11695b6477a9442b903 Mon Sep 17 00:00:00 2001 From: Antonello Dettori Date: Thu, 18 Aug 2016 10:32:27 +0200 Subject: nvramcui: remove undeclared variable Remove an undeclared variable that was accidentally left over, nvramcui is currently unable to compile and operate because of this. Regression introduced in: 904dd303cbe99541025cbea008855f807a5d9f5c (nvramcui: refactor code) Fixes: https://ticket.coreboot.org/issues/70 Change-Id: Ieaba615838d7593546ab5696baf1b8f9828da345 Signed-off-by: Antonello Dettori Reviewed-on: https://review.coreboot.org/16333 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Martin Roth --- payloads/nvramcui/nvramcui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'payloads') diff --git a/payloads/nvramcui/nvramcui.c b/payloads/nvramcui/nvramcui.c index 991303e387..84e5536dfb 100644 --- a/payloads/nvramcui/nvramcui.c +++ b/payloads/nvramcui/nvramcui.c @@ -179,8 +179,8 @@ int main(void) struct cb_cmos_option_table *opttbl = get_system_option_table(); - if (opttbl == NULL && cmos_default == NULL) { - printf("Could not find coreboot option table/cmos.default.\n"); + if (opttbl == NULL) { + printf("Could not find coreboot option table.\n"); halt(); } -- cgit v1.2.3