diff options
author | Antonello Dettori <dev@dettori.io> | 2016-08-18 10:32:27 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-09-01 06:05:12 +0200 |
commit | 079feec561c3433f0e64e11695b6477a9442b903 (patch) | |
tree | 816d9bf6d4c37160c1f45c0558dc0e6c8f82d3e1 /payloads/nvramcui | |
parent | e603a90045c2278adef308c85c2807dde38fa1b2 (diff) | |
download | coreboot-079feec561c3433f0e64e11695b6477a9442b903.tar.xz |
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 <dev@dettori.io>
Reviewed-on: https://review.coreboot.org/16333
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'payloads/nvramcui')
-rw-r--r-- | payloads/nvramcui/nvramcui.c | 4 |
1 files changed, 2 insertions, 2 deletions
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(); } |