[syslinux:master] core: remove unused stub pm_local_boot()

syslinux-bot for H. Peter Anvin hpa at zytor.com
Tue Mar 1 20:45:04 PST 2016


Commit-ID:  51c0854d83857f81e922d6916ee540a1e76ebd15
Gitweb:     http://www.syslinux.org/commit/51c0854d83857f81e922d6916ee540a1e76ebd15
Author:     H. Peter Anvin <hpa at zytor.com>
AuthorDate: Tue, 1 Mar 2016 20:33:03 -0800
Committer:  H. Peter Anvin <hpa at zytor.com>
CommitDate: Tue, 1 Mar 2016 20:33:03 -0800

core: remove unused stub pm_local_boot()

pm_local_boot is never used, remove it.

Signed-off-by: H. Peter Anvin <hpa at zytor.com>

---
 core/extern.inc  | 3 ---
 core/localboot.c | 5 -----
 2 files changed, 8 deletions(-)

diff --git a/core/extern.inc b/core/extern.inc
index ce4abfa..32efa58 100644
--- a/core/extern.inc
+++ b/core/extern.inc
@@ -78,7 +78,4 @@
 	; font.c
 	extern pm_getchar, pm_adjust_screen, pm_userfont
 
-	; localboot.c
-	extern pm_local_boot
-
 %endif ; EXTERN_INC
diff --git a/core/localboot.c b/core/localboot.c
index 04635d4..0b8769e 100644
--- a/core/localboot.c
+++ b/core/localboot.c
@@ -87,8 +87,3 @@ __export void local_boot(int16_t ax)
 	ireg.edx.w[0] = ax;
 	call16(local_boot16, &ireg, NULL);
 }
-
-void pm_local_boot(com32sys_t *regs)
-{
-	local_boot(regs->eax.w[0]);
-}


More information about the Syslinux-commits mailing list