[syslinux:firmware] core: Remove unused argument to init()

syslinux-bot for Chandramouli Narayanan chandramouli.narayanan at intel.com
Fri Nov 9 09:06:13 PST 2012


Commit-ID:  6bdefaddb67954b1426c9015c31b3405ba9059b8
Gitweb:     http://www.syslinux.org/commit/6bdefaddb67954b1426c9015c31b3405ba9059b8
Author:     Chandramouli Narayanan <chandramouli.narayanan at intel.com>
AuthorDate: Thu, 26 Jan 2012 19:54:54 +0000
Committer:  Matt Fleming <matt.fleming at intel.com>
CommitDate: Thu, 2 Feb 2012 16:12:22 +0000

core: Remove unused argument to init()

The com32sys_t * argument to init() isn't actually used and the efi
implementation doesn't even have it in its prototype. Just delete it.

Signed-off-by: Chandramouli Narayanan <chandramouli.narayanan at intel.com>
Signed-off-by: Matt Fleming <matt.fleming at intel.com>

---
 core/init.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/core/init.c b/core/init.c
index 46492c5..f10ba72 100644
--- a/core/init.c
+++ b/core/init.c
@@ -87,7 +87,7 @@ void bios_init(void)
 	check_escapes();
 }
 
-void init(com32sys_t *regs)
+void init(void)
 {
 	firmware->init();
 }


More information about the Syslinux-commits mailing list