diff options
author | Ian Moffett <ian@osmora.org> | 2025-08-26 18:54:31 +0000 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-08-26 18:55:31 +0000 |
commit | e8414b96ba94dbc761ee97d7a67b7a28cfc3a8af (patch) | |
tree | 31264552547d8974a6f3a646efba4e0e29f46012 /sys/kern | |
parent | 996114589d036918f77036ece745249b35687da0 (diff) |
kernel: style: Clean up and remove extra newlinesexpt
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_fork.c | 33 | ||||
-rw-r--r-- | sys/kern/kern_spawn.c | 1 | ||||
-rw-r--r-- | sys/kern/kern_uio.c | 1 |
3 files changed, 0 insertions, 35 deletions
diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c deleted file mode 100644 index 2755ea0..0000000 --- a/sys/kern/kern_fork.c +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) 2023-2025 Ian Marco Moffett and the Osmora Team. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of Hyra nor the names of its - * contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -#include <sys/types.h> -#include <sys/proc.h> - - diff --git a/sys/kern/kern_spawn.c b/sys/kern/kern_spawn.c index 7962ced..12f3d16 100644 --- a/sys/kern/kern_spawn.c +++ b/sys/kern/kern_spawn.c @@ -112,7 +112,6 @@ waitpid(pid_t pid, int *wstatus, int options) sched_yield(); } - /* Give back the status */ if (wstatus != NULL) { copyout(&child->exit_status, wstatus, sizeof(*wstatus)); diff --git a/sys/kern/kern_uio.c b/sys/kern/kern_uio.c index 2ec1532..5cdd8f6 100644 --- a/sys/kern/kern_uio.c +++ b/sys/kern/kern_uio.c @@ -235,7 +235,6 @@ uio_copyin(const struct iovec *u_iov, struct iovec *k_iov, int iovcnt) return 0; } - /* * Validate iovecs going out from kernel space (us) * before actually sending it out. |