From c6f10fb1b9b4f56fa6d7b6b73e1fdef96b63d912 Mon Sep 17 00:00:00 2001 From: Matt Fleming Date: Fri, 8 Apr 2011 13:52:30 +0100 Subject: com32: console is already initialised when we enter main() There's no need to initialise the console when we enter main() as ldlinux.c32 will already have initialised it for us. Leaving the calls to openconsole() causes the console settings to be reset whenever we run a module. Signed-off-by: Matt Fleming --- com32/modules/ethersel.c | 1 - 1 file changed, 1 deletion(-) (limited to 'com32/modules/ethersel.c') diff --git a/com32/modules/ethersel.c b/com32/modules/ethersel.c index 5c3cf02a..d6b4774f 100644 --- a/com32/modules/ethersel.c +++ b/com32/modules/ethersel.c @@ -185,7 +185,6 @@ int main(int argc, char *argv[]) struct match *list, *match; struct pci_domain *pci_domain; - openconsole(&dev_null_r, &dev_stdcon_w); pci_domain = pci_scan(); if (pci_domain) { -- cgit v1.2.1