diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2024-09-30 11:49:45 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2024-09-30 11:49:45 +0000 |
commit | a5ffef0707ac96117af702b4efd57960e04c2961 (patch) | |
tree | 0a6b32a796c01f280dedfdbcc60ac13d4d84a800 /sys/kern/kern_exec.c | |
parent | 2dc9e7f95ab0865abe81409b728afede64306b39 (diff) |
Remove code after exit1() and NOTREACHED comment. Nothing will ever get there.
OK mpi@
Diffstat (limited to 'sys/kern/kern_exec.c')
-rw-r--r-- | sys/kern/kern_exec.c | 6 |
1 files changed, 1 insertions, 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); } |