don't initialize "in" as it is initialized again one line below.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4229 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer 2009-04-29 19:09:19 +00:00 committed by Stefan Reinauer
parent 76b5d20d78
commit 0ae0bcefe1
1 changed files with 1 additions and 1 deletions

View File

@ -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();