summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2022-02-22 13:34:24 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2022-02-22 13:34:24 +0000
commitb9d99f02ae95ccda0047bdaf5c89aa387c5ff652 (patch)
tree0bca6bf1a4b037bfa45da2ca3fd54d6d2c632836 /sys
parentc2977b9d0688f9a22a893d6ea3f2273735118b24 (diff)
Remove extra ;
No functional change.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/powerpc64/dev/ipmi_opal.c4
-rw-r--r--sys/arch/powerpc64/dev/kexec.c4
-rw-r--r--sys/arch/riscv64/riscv64/syscall.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/powerpc64/dev/ipmi_opal.c b/sys/arch/powerpc64/dev/ipmi_opal.c
index 3532a90add9..25efc894fe6 100644
--- a/sys/arch/powerpc64/dev/ipmi_opal.c
+++ b/sys/arch/powerpc64/dev/ipmi_opal.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipmi_opal.c,v 1.1 2021/01/23 12:10:08 kettenis Exp $ */
+/* $OpenBSD: ipmi_opal.c,v 1.2 2022/02/22 13:34:23 visa Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
*
@@ -109,7 +109,7 @@ ipmi_opal_buildmsg(struct ipmi_cmd *c)
struct opal_ipmi_msg *msg = (struct opal_ipmi_msg *)sc->sc_buf;
msg->version = OPAL_IPMI_MSG_FORMAT_VERSION_1;
- msg->netfn = NETFN_LUN(c->c_netfn, c->c_rslun);;
+ msg->netfn = NETFN_LUN(c->c_netfn, c->c_rslun);
msg->cmd = c->c_cmd;
if (c->c_txlen && c->c_data)
memcpy(msg->data, c->c_data, c->c_txlen);
diff --git a/sys/arch/powerpc64/dev/kexec.c b/sys/arch/powerpc64/dev/kexec.c
index bb106c7610a..b35ed1e0c3d 100644
--- a/sys/arch/powerpc64/dev/kexec.c
+++ b/sys/arch/powerpc64/dev/kexec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kexec.c,v 1.6 2021/11/27 06:14:10 deraadt Exp $ */
+/* $OpenBSD: kexec.c,v 1.7 2022/02/22 13:34:23 visa Exp $ */
/*
* Copyright (c) 2019-2020 Visa Hankala
@@ -94,7 +94,7 @@ kexec_kexec(struct kexec_args *kargs, struct proc *p)
vaddr_t start = VM_MAX_ADDRESS;
vaddr_t end = 0;
paddr_t start_pa, initrd_pa;
- vsize_t align = 0;;
+ vsize_t align = 0;
caddr_t addr = NULL;
caddr_t symaddr = NULL;
size_t phsize, shsize, size, symsize;
diff --git a/sys/arch/riscv64/riscv64/syscall.c b/sys/arch/riscv64/riscv64/syscall.c
index 44520a83e33..81685bfd608 100644
--- a/sys/arch/riscv64/riscv64/syscall.c
+++ b/sys/arch/riscv64/riscv64/syscall.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: syscall.c,v 1.11 2021/12/09 00:26:11 guenther Exp $ */
+/* $OpenBSD: syscall.c,v 1.12 2022/02/22 13:34:23 visa Exp $ */
/*
* Copyright (c) 2020 Brian Bamsch <bbamsch@google.com>
@@ -116,7 +116,7 @@ void
child_return(void *arg)
{
struct proc *p = arg;
- struct trapframe *frame = process_frame(p);;
+ struct trapframe *frame = process_frame(p);
frame->tf_a[0] = 0;
frame->tf_a[1] = 1;