From b1ea5356a26caa26b63df9ecfc3a7c8e8c859315 Mon Sep 17 00:00:00 2001 From: claudio Date: Mon, 30 Sep 2024 11:49:44 +0000 Subject: [PATCH] Remove code after exit1() and NOTREACHED comment. Nothing will ever get there. OK mpi@ --- sys/kern/kern_exec.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c index 76f4e70e2a6..5234fd6aa58 100644 --- a/sys/kern/kern_exec.c +++ b/sys/kern/kern_exec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_exec.c,v 1.258 2024/08/21 03:07:45 deraadt Exp $ */ +/* $OpenBSD: kern_exec.c,v 1.259 2024/09/30 11:49:44 claudio Exp $ */ /* $NetBSD: kern_exec.c,v 1.75 1996/02/09 18:59:28 christos Exp $ */ /*- @@ -796,11 +796,7 @@ exec_abort: free_pack_abort: free(pack.ep_hdr, M_EXEC, pack.ep_hdrlen); exit1(p, 0, SIGABRT, EXIT_NORMAL); - /* NOTREACHED */ - atomic_clearbits_int(&pr->ps_flags, PS_INEXEC); - - return (0); } -- 2.20.1