summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2023-03-08 04:43:16 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2023-03-08 04:43:16 +0000
commitb7ec05677ee9f62c29e195e7be5125d39f7fdad9 (patch)
treed2d92930c9557994e5a771aef772966110966cc3 /sys/arch
parent3f4b7c5f0adcfdffa19cefea0c39206811487db6 (diff)
Delete obsolete /* ARGSUSED */ lint comments.
ok miod@ millert@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/alpha/alpha/machdep.c3
-rw-r--r--sys/arch/alpha/alpha/trap.c3
-rw-r--r--sys/arch/alpha/tc/tc_bus_mem.c4
-rw-r--r--sys/arch/hppa/spmath/dfsqrt.c3
-rw-r--r--sys/arch/hppa/spmath/fcnvff.c4
-rw-r--r--sys/arch/hppa/spmath/fcnvfx.c6
-rw-r--r--sys/arch/hppa/spmath/fcnvfxt.c6
-rw-r--r--sys/arch/hppa/spmath/frnd.c5
-rw-r--r--sys/arch/hppa/spmath/sfsqrt.c3
-rw-r--r--sys/arch/hppa/stand/libsa/ct.c3
-rw-r--r--sys/arch/i386/i386/mem.c4
-rw-r--r--sys/arch/i386/i386/trap.c3
-rw-r--r--sys/arch/luna88k/dev/lunaws.c3
-rw-r--r--sys/arch/macppc/macppc/mainbus.c3
-rw-r--r--sys/arch/macppc/pci/pchb.c3
-rw-r--r--sys/arch/mips64/mips64/sendsig.c3
-rw-r--r--sys/arch/sh/include/pmap.h3
-rw-r--r--sys/arch/sparc64/sparc64/autoconf.c3
-rw-r--r--sys/arch/sparc64/sparc64/machdep.c3
19 files changed, 19 insertions, 49 deletions
diff --git a/sys/arch/alpha/alpha/machdep.c b/sys/arch/alpha/alpha/machdep.c
index 5a35dc4484f..c4258910480 100644
--- a/sys/arch/alpha/alpha/machdep.c
+++ b/sys/arch/alpha/alpha/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.201 2023/02/06 11:16:22 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.202 2023/03/08 04:43:07 guenther Exp $ */
/* $NetBSD: machdep.c,v 1.210 2000/06/01 17:12:38 thorpej Exp $ */
/*-
@@ -1446,7 +1446,6 @@ sendsig(sig_t catcher, int sig, sigset_t mask, const siginfo_t *ksip,
* psl to gain improper privileges or to cause
* a machine fault.
*/
-/* ARGSUSED */
int
sys_sigreturn(struct proc *p, void *v, register_t *retval)
{
diff --git a/sys/arch/alpha/alpha/trap.c b/sys/arch/alpha/alpha/trap.c
index 635f2a7d6d3..abe69405852 100644
--- a/sys/arch/alpha/alpha/trap.c
+++ b/sys/arch/alpha/alpha/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.107 2023/02/11 23:07:26 deraadt Exp $ */
+/* $OpenBSD: trap.c,v 1.108 2023/03/08 04:43:07 guenther Exp $ */
/* $NetBSD: trap.c,v 1.52 2000/05/24 16:48:33 thorpej Exp $ */
/*-
@@ -201,7 +201,6 @@ printtrap(const unsigned long a0, const unsigned long a1,
* to make the code a bit cleaner and more representative of the
* Alpha architecture.
*/
-/*ARGSUSED*/
void
trap(a0, a1, a2, entry, framep)
const unsigned long a0, a1, a2, entry;
diff --git a/sys/arch/alpha/tc/tc_bus_mem.c b/sys/arch/alpha/tc/tc_bus_mem.c
index 15d39d58fde..857a7266668 100644
--- a/sys/arch/alpha/tc/tc_bus_mem.c
+++ b/sys/arch/alpha/tc/tc_bus_mem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tc_bus_mem.c,v 1.17 2010/04/04 12:49:27 miod Exp $ */
+/* $OpenBSD: tc_bus_mem.c,v 1.18 2023/03/08 04:43:07 guenther Exp $ */
/* $NetBSD: tc_bus_mem.c,v 1.25 2001/09/04 05:31:28 thorpej Exp $ */
/*
@@ -235,7 +235,6 @@ tc_bus_mem_init(memv)
return (h);
}
-/* ARGSUSED */
int
tc_mem_map(v, memaddr, memsize, flags, memhp)
void *v;
@@ -260,7 +259,6 @@ tc_mem_map(v, memaddr, memsize, flags, memhp)
return (0);
}
-/* ARGSUSED */
void
tc_mem_unmap(v, memh, memsize)
void *v;
diff --git a/sys/arch/hppa/spmath/dfsqrt.c b/sys/arch/hppa/spmath/dfsqrt.c
index 1d6ed622c53..d48f1f68157 100644
--- a/sys/arch/hppa/spmath/dfsqrt.c
+++ b/sys/arch/hppa/spmath/dfsqrt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dfsqrt.c,v 1.7 2003/04/10 17:27:58 mickey Exp $ */
+/* $OpenBSD: dfsqrt.c,v 1.8 2023/03/08 04:43:07 guenther Exp $ */
/*
(c) Copyright 1986 HEWLETT-PACKARD COMPANY
To anyone who acknowledges that this file is provided "AS IS"
@@ -21,7 +21,6 @@
* Double Floating-point Square Root
*/
-/*ARGSUSED*/
int
dbl_fsqrt(srcptr, null, dstptr, status)
dbl_floating_point *srcptr, *null, *dstptr;
diff --git a/sys/arch/hppa/spmath/fcnvff.c b/sys/arch/hppa/spmath/fcnvff.c
index cb0e6d2f1f8..c6473f43f7c 100644
--- a/sys/arch/hppa/spmath/fcnvff.c
+++ b/sys/arch/hppa/spmath/fcnvff.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fcnvff.c,v 1.7 2003/04/10 17:27:58 mickey Exp $ */
+/* $OpenBSD: fcnvff.c,v 1.8 2023/03/08 04:43:07 guenther Exp $ */
/*
(c) Copyright 1986 HEWLETT-PACKARD COMPANY
To anyone who acknowledges that this file is provided "AS IS"
@@ -22,7 +22,6 @@
/*
* Single Floating-point to Double Floating-point
*/
-/*ARGSUSED*/
int
sgl_to_dbl_fcnvff(srcptr, null, dstptr, status)
sgl_floating_point *srcptr, *null;
@@ -108,7 +107,6 @@ sgl_to_dbl_fcnvff(srcptr, null, dstptr, status)
/*
* Double Floating-point to Single Floating-point
*/
-/*ARGSUSED*/
int
dbl_to_sgl_fcnvff(srcptr, null, dstptr, status)
dbl_floating_point *srcptr, *null;
diff --git a/sys/arch/hppa/spmath/fcnvfx.c b/sys/arch/hppa/spmath/fcnvfx.c
index d29f4419e50..6086e38ceea 100644
--- a/sys/arch/hppa/spmath/fcnvfx.c
+++ b/sys/arch/hppa/spmath/fcnvfx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fcnvfx.c,v 1.8 2010/07/30 18:05:23 kettenis Exp $ */
+/* $OpenBSD: fcnvfx.c,v 1.9 2023/03/08 04:43:07 guenther Exp $ */
/*
(c) Copyright 1986 HEWLETT-PACKARD COMPANY
To anyone who acknowledges that this file is provided "AS IS"
@@ -22,7 +22,6 @@
/*
* Single Floating-point to Single Fixed-point
*/
-/*ARGSUSED*/
int
sgl_to_sgl_fcnvfx(srcptr, null, dstptr, status)
sgl_floating_point *srcptr, *null;
@@ -120,7 +119,6 @@ sgl_to_sgl_fcnvfx(srcptr, null, dstptr, status)
/*
* Single Floating-point to Double Fixed-point
*/
-/*ARGSUSED*/
int
sgl_to_dbl_fcnvfx(srcptr, null, dstptr, status)
sgl_floating_point *srcptr, *null;
@@ -243,7 +241,6 @@ sgl_to_dbl_fcnvfx(srcptr, null, dstptr, status)
/*
* Double Floating-point to Single Fixed-point
*/
-/*ARGSUSED*/
int
dbl_to_sgl_fcnvfx(srcptr, null, dstptr, status)
dbl_floating_point *srcptr, *null;
@@ -364,7 +361,6 @@ dbl_to_sgl_fcnvfx(srcptr, null, dstptr, status)
/*
* Double Floating-point to Double Fixed-point
*/
-/*ARGSUSED*/
int
dbl_to_dbl_fcnvfx(srcptr, null, dstptr, status)
dbl_floating_point *srcptr, *null;
diff --git a/sys/arch/hppa/spmath/fcnvfxt.c b/sys/arch/hppa/spmath/fcnvfxt.c
index a29d15e5f9a..dd78178315d 100644
--- a/sys/arch/hppa/spmath/fcnvfxt.c
+++ b/sys/arch/hppa/spmath/fcnvfxt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fcnvfxt.c,v 1.8 2010/07/30 18:05:23 kettenis Exp $ */
+/* $OpenBSD: fcnvfxt.c,v 1.9 2023/03/08 04:43:07 guenther Exp $ */
/*
(c) Copyright 1986 HEWLETT-PACKARD COMPANY
To anyone who acknowledges that this file is provided "AS IS"
@@ -23,7 +23,6 @@
* Convert single floating-point to single fixed-point format
* with truncated result
*/
-/*ARGSUSED*/
int
sgl_to_sgl_fcnvfxt(srcptr, null, dstptr, status)
sgl_floating_point *srcptr, *null;
@@ -86,7 +85,6 @@ sgl_to_sgl_fcnvfxt(srcptr, null, dstptr, status)
/*
* Single Floating-point to Double Fixed-point
*/
-/*ARGSUSED*/
int
sgl_to_dbl_fcnvfxt(srcptr, null, dstptr, status)
sgl_floating_point *srcptr, *null;
@@ -160,7 +158,6 @@ sgl_to_dbl_fcnvfxt(srcptr, null, dstptr, status)
/*
* Double Floating-point to Single Fixed-point
*/
-/*ARGSUSED*/
int
dbl_to_sgl_fcnvfxt(srcptr, null, dstptr, status)
dbl_floating_point *srcptr, *null;
@@ -224,7 +221,6 @@ dbl_to_sgl_fcnvfxt(srcptr, null, dstptr, status)
/*
* Double Floating-point to Double Fixed-point
*/
-/*ARGSUSED*/
int
dbl_to_dbl_fcnvfxt(srcptr, null, dstptr, status)
dbl_floating_point *srcptr, *null;
diff --git a/sys/arch/hppa/spmath/frnd.c b/sys/arch/hppa/spmath/frnd.c
index 99d17fa8119..c27575e97ee 100644
--- a/sys/arch/hppa/spmath/frnd.c
+++ b/sys/arch/hppa/spmath/frnd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: frnd.c,v 1.8 2003/04/10 17:27:58 mickey Exp $ */
+/* $OpenBSD: frnd.c,v 1.9 2023/03/08 04:43:07 guenther Exp $ */
/*
(c) Copyright 1986 HEWLETT-PACKARD COMPANY
To anyone who acknowledges that this file is provided "AS IS"
@@ -24,7 +24,6 @@
* Single Floating-point Round to Integer
*/
-/*ARGSUSED*/
int
sgl_frnd(srcptr, null, dstptr, status)
sgl_floating_point *srcptr, *null, *dstptr;
@@ -127,7 +126,6 @@ sgl_frnd(srcptr, null, dstptr, status)
* Double Floating-point Round to Integer
*/
-/*ARGSUSED*/
int
dbl_frnd(srcptr, null, dstptr, status)
dbl_floating_point *srcptr, *null, *dstptr;
@@ -229,7 +227,6 @@ dbl_frnd(srcptr, null, dstptr, status)
return(NOEXCEPTION);
}
-/*ARGSUSED*/
int
quad_frnd(srcptr, null, dstptr, status)
quad_floating_point *srcptr, *null, *dstptr;
diff --git a/sys/arch/hppa/spmath/sfsqrt.c b/sys/arch/hppa/spmath/sfsqrt.c
index 12193a30589..dafc0f53fe1 100644
--- a/sys/arch/hppa/spmath/sfsqrt.c
+++ b/sys/arch/hppa/spmath/sfsqrt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sfsqrt.c,v 1.7 2003/04/10 17:27:59 mickey Exp $ */
+/* $OpenBSD: sfsqrt.c,v 1.8 2023/03/08 04:43:07 guenther Exp $ */
/*
(c) Copyright 1986 HEWLETT-PACKARD COMPANY
To anyone who acknowledges that this file is provided "AS IS"
@@ -21,7 +21,6 @@
* Single Floating-point Square Root
*/
-/*ARGSUSED*/
int
sgl_fsqrt(srcptr, null, dstptr, status)
sgl_floating_point *srcptr, *null, *dstptr;
diff --git a/sys/arch/hppa/stand/libsa/ct.c b/sys/arch/hppa/stand/libsa/ct.c
index 30881e78941..443291161f9 100644
--- a/sys/arch/hppa/stand/libsa/ct.c
+++ b/sys/arch/hppa/stand/libsa/ct.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ct.c,v 1.9 2004/04/07 18:24:20 mickey Exp $ */
+/* $OpenBSD: ct.c,v 1.10 2023/03/08 04:43:07 guenther Exp $ */
/*
* Copyright (c) 1998-2004 Michael Shalayeff
@@ -69,7 +69,6 @@ ctopen(struct open_file *f, ...)
return (0);
}
-/*ARGSUSED*/
int
ctclose(f)
struct open_file *f;
diff --git a/sys/arch/i386/i386/mem.c b/sys/arch/i386/i386/mem.c
index 174020c26ea..db316bd676a 100644
--- a/sys/arch/i386/i386/mem.c
+++ b/sys/arch/i386/i386/mem.c
@@ -1,5 +1,5 @@
/* $NetBSD: mem.c,v 1.31 1996/05/03 19:42:19 christos Exp $ */
-/* $OpenBSD: mem.c,v 1.55 2023/01/30 10:49:05 jsg Exp $ */
+/* $OpenBSD: mem.c,v 1.56 2023/03/08 04:43:07 guenther Exp $ */
/*
* Copyright (c) 1988 University of Utah.
* Copyright (c) 1982, 1986, 1990, 1993
@@ -70,7 +70,6 @@ struct mem_range_softc mem_range_softc;
static int mem_ioctl(dev_t, u_long, caddr_t, int, struct proc *);
#endif
-/*ARGSUSED*/
int
mmopen(dev_t dev, int flag, int mode, struct proc *p)
{
@@ -103,7 +102,6 @@ mmopen(dev_t dev, int flag, int mode, struct proc *p)
return (0);
}
-/*ARGSUSED*/
int
mmclose(dev_t dev, int flag, int mode, struct proc *p)
{
diff --git a/sys/arch/i386/i386/trap.c b/sys/arch/i386/i386/trap.c
index c936dc35070..9db41060c2f 100644
--- a/sys/arch/i386/i386/trap.c
+++ b/sys/arch/i386/i386/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.160 2023/02/11 23:07:27 deraadt Exp $ */
+/* $OpenBSD: trap.c,v 1.161 2023/03/08 04:43:07 guenther Exp $ */
/* $NetBSD: trap.c,v 1.95 1996/05/05 06:50:02 mycroft Exp $ */
/*-
@@ -512,7 +512,6 @@ ast(struct trapframe *frame)
* syscall(frame):
* System call request from POSIX system call gate interface to kernel.
*/
-/*ARGSUSED*/
void
syscall(struct trapframe *frame)
{
diff --git a/sys/arch/luna88k/dev/lunaws.c b/sys/arch/luna88k/dev/lunaws.c
index 06711caf24b..d85460478a5 100644
--- a/sys/arch/luna88k/dev/lunaws.c
+++ b/sys/arch/luna88k/dev/lunaws.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lunaws.c,v 1.15 2017/11/03 06:54:06 aoyama Exp $ */
+/* $OpenBSD: lunaws.c,v 1.16 2023/03/08 04:43:07 guenther Exp $ */
/* $NetBSD: lunaws.c,v 1.6 2002/03/17 19:40:42 atatat Exp $ */
/*-
@@ -229,7 +229,6 @@ ws_submatch_mouse(struct device *parent, void *match, void *aux)
#endif
-/*ARGSUSED*/
void
wsintr(void *arg)
{
diff --git a/sys/arch/macppc/macppc/mainbus.c b/sys/arch/macppc/macppc/mainbus.c
index c9a2930ece3..bdd4cf281f1 100644
--- a/sys/arch/macppc/macppc/mainbus.c
+++ b/sys/arch/macppc/macppc/mainbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mainbus.c,v 1.27 2022/03/13 12:33:01 mpi Exp $ */
+/* $OpenBSD: mainbus.c,v 1.28 2023/03/08 04:43:07 guenther Exp $ */
/*
* Copyright (c) 1994, 1995 Carnegie-Mellon University.
@@ -49,7 +49,6 @@ struct cfdriver mainbus_cd = {
#define HH_REG_CONF 0x90
-/*ARGSUSED*/
static int
mbmatch(struct device *parent, void *cfdata, void *aux)
{
diff --git a/sys/arch/macppc/pci/pchb.c b/sys/arch/macppc/pci/pchb.c
index b93f93c49b4..b0cf7d81497 100644
--- a/sys/arch/macppc/pci/pchb.c
+++ b/sys/arch/macppc/pci/pchb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pchb.c,v 1.16 2022/03/13 12:33:01 mpi Exp $ */
+/* $OpenBSD: pchb.c,v 1.17 2023/03/08 04:43:07 guenther Exp $ */
/* $NetBSD: pchb.c,v 1.4 2000/01/25 07:19:11 tsubai Exp $ */
/*-
@@ -103,7 +103,6 @@ pchbmatch(struct device *parent, void *cf, void *aux)
return (0);
}
-/*ARGSUSED*/
void
pchbattach(struct device *parent, struct device *self, void *aux)
{
diff --git a/sys/arch/mips64/mips64/sendsig.c b/sys/arch/mips64/mips64/sendsig.c
index 0f07636594f..7855315731d 100644
--- a/sys/arch/mips64/mips64/sendsig.c
+++ b/sys/arch/mips64/mips64/sendsig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sendsig.c,v 1.35 2021/10/06 15:46:03 claudio Exp $ */
+/* $OpenBSD: sendsig.c,v 1.36 2023/03/08 04:43:07 guenther Exp $ */
/*
* Copyright (c) 1990 The Regents of the University of California.
@@ -173,7 +173,6 @@ sendsig(sig_t catcher, int sig, sigset_t mask, const siginfo_t *ksip,
* psl to gain improper privileges or to cause
* a machine fault.
*/
-/* ARGSUSED */
int
sys_sigreturn(struct proc *p, void *v, register_t *retval)
{
diff --git a/sys/arch/sh/include/pmap.h b/sys/arch/sh/include/pmap.h
index aaa3f519447..0b31ed83163 100644
--- a/sys/arch/sh/include/pmap.h
+++ b/sys/arch/sh/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.18 2023/01/31 15:18:55 deraadt Exp $ */
+/* $OpenBSD: pmap.h,v 1.19 2023/03/08 04:43:07 guenther Exp $ */
/* $NetBSD: pmap.h,v 1.28 2006/04/10 23:12:11 uwe Exp $ */
/*-
@@ -69,7 +69,6 @@ void pmap_bootstrap(void);
#define pmap_wired_count(pmap) ((pmap)->pm_stats.wired_count)
#define pmap_resident_count(pmap) ((pmap)->pm_stats.resident_count)
-/* ARGSUSED */
static __inline void
pmap_remove_all(struct pmap *pmap)
{
diff --git a/sys/arch/sparc64/sparc64/autoconf.c b/sys/arch/sparc64/sparc64/autoconf.c
index 079b7ce2152..c6415f98577 100644
--- a/sys/arch/sparc64/sparc64/autoconf.c
+++ b/sys/arch/sparc64/sparc64/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.141 2022/09/02 20:06:56 miod Exp $ */
+/* $OpenBSD: autoconf.c,v 1.142 2023/03/08 04:43:07 guenther Exp $ */
/* $NetBSD: autoconf.c,v 1.51 2001/07/24 19:32:11 eeh Exp $ */
/*
@@ -852,7 +852,6 @@ clockfreq(long freq)
return (buf);
}
-/* ARGSUSED */
static int
mbprint(void *aux, const char *name)
{
diff --git a/sys/arch/sparc64/sparc64/machdep.c b/sys/arch/sparc64/sparc64/machdep.c
index 73c633d799e..4b4466fa57b 100644
--- a/sys/arch/sparc64/sparc64/machdep.c
+++ b/sys/arch/sparc64/sparc64/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.206 2023/01/21 19:39:28 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.207 2023/03/08 04:43:07 guenther Exp $ */
/* $NetBSD: machdep.c,v 1.108 2001/07/24 19:30:14 eeh Exp $ */
/*-
@@ -489,7 +489,6 @@ sendsig(sig_t catcher, int sig, sigset_t mask, const siginfo_t *ksip,
* modified the state to gain improper privileges or to cause
* a machine fault.
*/
-/* ARGSUSED */
int
sys_sigreturn(struct proc *p, void *v, register_t *retval)
{