summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorKenji Aoyama <aoyama@cvs.openbsd.org>2024-01-23 13:02:16 +0000
committerKenji Aoyama <aoyama@cvs.openbsd.org>2024-01-23 13:02:16 +0000
commit9b45d72621751cdb802de62b9c7a16409b16b8cd (patch)
treed87e8b2a8920127f393789994319f7e127615606 /sys/arch
parent9c6e6cf4b9b5ba8f8973d117ce14271464331da2 (diff)
Delete unused labels which cause error in making kernel.
ok miod@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/m88k/m88k/trap.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/m88k/m88k/trap.c b/sys/arch/m88k/m88k/trap.c
index 7b8211e8525..e51c58d413b 100644
--- a/sys/arch/m88k/m88k/trap.c
+++ b/sys/arch/m88k/m88k/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.132 2024/01/11 19:16:26 miod Exp $ */
+/* $OpenBSD: trap.c,v 1.133 2024/01/23 13:02:15 aoyama Exp $ */
/*
* Copyright (c) 2004, Miodrag Vallat.
* Copyright (c) 1998 Steve Murphree, Jr.
@@ -1222,7 +1222,6 @@ m88100_syscall(register_t code, struct trapframe *tf)
case EJUSTRETURN:
break;
default:
- bad:
tf->tf_r[2] = error;
tf->tf_epsr |= PSR_C; /* fail */
tf->tf_snip = tf->tf_snip & ~NIP_E;
@@ -1309,7 +1308,6 @@ m88110_syscall(register_t code, struct trapframe *tf)
m88110_skip_insn(tf);
break;
default:
- bad:
tf->tf_r[2] = error;
tf->tf_epsr |= PSR_C; /* fail */
/* skip one instruction */