From 0ae0bcefe1aecb34b6903f0d3aa08e317dea4215 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 29 Apr 2009 19:09:19 +0000 Subject: don't initialize "in" as it is initialized again one line below. Signed-off-by: Stefan Reinauer Acked-by: Patrick Georgi git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4229 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- payloads/libpayload/libc/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'payloads/libpayload') diff --git a/payloads/libpayload/libc/console.c b/payloads/libpayload/libc/console.c index ea0eba0164..5368dd698b 100644 --- a/payloads/libpayload/libc/console.c +++ b/payloads/libpayload/libc/console.c @@ -110,7 +110,7 @@ int getchar(void) #ifdef CONFIG_USB usb_poll(); #endif - struct console_input_driver *in = console_in; + struct console_input_driver *in; for (in = console_in; in != 0; in = in->next) if (in->havechar()) return in->getchar(); -- cgit v1.2.3