summaryrefslogtreecommitdiff
path: root/sys/arch/hp300
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2012-12-31 06:46:15 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2012-12-31 06:46:15 +0000
commitcbe7dde9cc583bad9802303b856b311c8c0355fe (patch)
treef003db53909e7a37387a2e0a9a299dfb204acddc /sys/arch/hp300
parent28ec7dd24084fdb86a58a197069a7c048851071e (diff)
Remove emulation errno mapping code from platforms that no longer have
non-native emulations. ok miod@
Diffstat (limited to 'sys/arch/hp300')
-rw-r--r--sys/arch/hp300/hp300/trap.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/hp300/hp300/trap.c b/sys/arch/hp300/hp300/trap.c
index 79dd088277f..f33c678e5bb 100644
--- a/sys/arch/hp300/hp300/trap.c
+++ b/sys/arch/hp300/hp300/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.61 2012/08/07 05:16:53 guenther Exp $ */
+/* $OpenBSD: trap.c,v 1.62 2012/12/31 06:46:13 guenther Exp $ */
/* $NetBSD: trap.c,v 1.57 1998/02/16 20:58:31 thorpej Exp $ */
/*
@@ -1001,8 +1001,6 @@ syscall(code, frame)
break;
default:
bad:
- if (p->p_emul->e_errno)
- error = p->p_emul->e_errno[error];
frame.f_regs[D0] = error;
frame.f_sr |= PSL_C; /* carry bit */
break;