aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2016-03-01 20:33:03 -0800
committerH. Peter Anvin <hpa@zytor.com>2016-03-01 20:33:03 -0800
commit51c0854d83857f81e922d6916ee540a1e76ebd15 (patch)
treed7e54101db432b062803724255d279abe392d5f5
parent89aee1f18626a9e66c9c5f00be1d0b079e128b2c (diff)
downloadsyslinux-51c0854d83857f81e922d6916ee540a1e76ebd15.tar.gz
syslinux-51c0854d83857f81e922d6916ee540a1e76ebd15.tar.xz
syslinux-51c0854d83857f81e922d6916ee540a1e76ebd15.zip
core: remove unused stub pm_local_boot()
pm_local_boot is never used, remove it. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--core/extern.inc3
-rw-r--r--core/localboot.c5
2 files changed, 0 insertions, 8 deletions
diff --git a/core/extern.inc b/core/extern.inc
index ce4abfab..32efa58c 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 04635d47..0b8769e4 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]);
-}