diff options
author | Matt Fleming <matt.fleming@linux.intel.com> | 2011-04-08 13:52:30 +0100 |
---|---|---|
committer | Matt Fleming <matt.fleming@linux.intel.com> | 2011-04-26 09:53:19 +0100 |
commit | c6f10fb1b9b4f56fa6d7b6b73e1fdef96b63d912 (patch) | |
tree | fd505e4edf26645dad9b2a9cf27e05d12c0bc5db /com32/modules/ethersel.c | |
parent | 90d5044ba28432921ca1f9ce393e9e8771d20274 (diff) | |
download | syslinux-c6f10fb1b9b4f56fa6d7b6b73e1fdef96b63d912.tar.gz |
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 <matt.fleming@linux.intel.com>
Diffstat (limited to 'com32/modules/ethersel.c')
-rw-r--r-- | com32/modules/ethersel.c | 1 |
1 files changed, 0 insertions, 1 deletions
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) { |