Module Name: src
Committed By: tsutsui
Date: Fri Apr 21 23:01:59 UTC 2023
Modified Files:
src/sys/arch/hp300/dev: ct.c dcm.c rd.c
src/sys/arch/hp300/hp300: bus_space.c trap.c
Log Message:
Remove ancient /* ARGSUSED */ lint comments.
To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/sys/arch/hp300/dev/ct.c
cvs rdiff -u -r1.91 -r1.92 src/sys/arch/hp300/dev/dcm.c
cvs rdiff -u -r1.125 -r1.126 src/sys/arch/hp300/dev/rd.c
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/hp300/hp300/bus_space.c
cvs rdiff -u -r1.156 -r1.157 src/sys/arch/hp300/hp300/trap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/hp300/dev/ct.c
diff -u src/sys/arch/hp300/dev/ct.c:1.63 src/sys/arch/hp300/dev/ct.c:1.64
--- src/sys/arch/hp300/dev/ct.c:1.63 Mon Jul 5 14:51:23 2021
+++ src/sys/arch/hp300/dev/ct.c Fri Apr 21 23:01:59 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: ct.c,v 1.63 2021/07/05 14:51:23 tsutsui Exp $ */
+/* $NetBSD: ct.c,v 1.64 2023/04/21 23:01:59 tsutsui Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -75,7 +75,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ct.c,v 1.63 2021/07/05 14:51:23 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ct.c,v 1.64 2023/04/21 23:01:59 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -368,7 +368,6 @@ ctreset(struct ct_softc *sc)
hpibrecv(ctlr, slave, C_QSTAT, &stat, sizeof(stat));
}
-/*ARGSUSED*/
static int
ctopen(dev_t dev, int flag, int type, struct lwp *l)
{
@@ -416,7 +415,6 @@ ctopen(dev_t dev, int flag, int type, st
return 0;
}
-/*ARGSUSED*/
static int
ctclose(dev_t dev, int flag, int fmt, struct lwp *l)
{
@@ -727,7 +725,6 @@ cteof(struct ct_softc *sc, struct buf *b
#endif
}
-/* ARGSUSED */
static void
ctintr(void *arg)
{
@@ -898,7 +895,6 @@ ctwrite(dev_t dev, struct uio *uio, int
return physio(ctstrategy, NULL, dev, B_WRITE, minphys, uio);
}
-/*ARGSUSED*/
static int
ctioctl(dev_t dev, u_long cmd, void *data, int flag, struct lwp *l)
{
Index: src/sys/arch/hp300/dev/dcm.c
diff -u src/sys/arch/hp300/dev/dcm.c:1.91 src/sys/arch/hp300/dev/dcm.c:1.92
--- src/sys/arch/hp300/dev/dcm.c:1.91 Sun Jan 15 06:19:45 2023
+++ src/sys/arch/hp300/dev/dcm.c Fri Apr 21 23:01:59 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: dcm.c,v 1.91 2023/01/15 06:19:45 tsutsui Exp $ */
+/* $NetBSD: dcm.c,v 1.92 2023/04/21 23:01:59 tsutsui Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -78,7 +78,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dcm.c,v 1.91 2023/01/15 06:19:45 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dcm.c,v 1.92 2023/04/21 23:01:59 tsutsui Exp $");
#include "opt_kgdb.h"
@@ -482,7 +482,6 @@ dcmattach(device_t parent, device_t self
#endif /* KGDB */
}
-/* ARGSUSED */
static int
dcmopen(dev_t dev, int flag, int mode, struct lwp *l)
{
@@ -572,7 +571,6 @@ dcmopen(dev_t dev, int flag, int mode, s
return error;
}
-/*ARGSUSED*/
static int
dcmclose(dev_t dev, int flag, int mode, struct lwp *l)
{
@@ -1564,7 +1562,6 @@ error:
return 1;
}
-/* ARGSUSED */
static int
dcmcngetc(dev_t dev)
{
@@ -1600,7 +1597,6 @@ dcmcngetc(dev_t dev)
/*
* Console kernel output character routine.
*/
-/* ARGSUSED */
static void
dcmcnputc(dev_t dev, int c)
{
Index: src/sys/arch/hp300/dev/rd.c
diff -u src/sys/arch/hp300/dev/rd.c:1.125 src/sys/arch/hp300/dev/rd.c:1.126
--- src/sys/arch/hp300/dev/rd.c:1.125 Sun Feb 12 16:04:57 2023
+++ src/sys/arch/hp300/dev/rd.c Fri Apr 21 23:01:59 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: rd.c,v 1.125 2023/02/12 16:04:57 andvar Exp $ */
+/* $NetBSD: rd.c,v 1.126 2023/04/21 23:01:59 tsutsui Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -72,7 +72,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rd.c,v 1.125 2023/02/12 16:04:57 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rd.c,v 1.126 2023/04/21 23:01:59 tsutsui Exp $");
#include "opt_useleds.h"
@@ -1075,7 +1075,6 @@ rdgo(void *arg)
hpibgo(ctlr, slave, C_EXEC, sc->sc_addr, sc->sc_resid, rw, rw != 0);
}
-/* ARGSUSED */
static void
rdintr(void *arg)
{
Index: src/sys/arch/hp300/hp300/bus_space.c
diff -u src/sys/arch/hp300/hp300/bus_space.c:1.21 src/sys/arch/hp300/hp300/bus_space.c:1.22
--- src/sys/arch/hp300/hp300/bus_space.c:1.21 Mon Mar 24 19:42:58 2014
+++ src/sys/arch/hp300/hp300/bus_space.c Fri Apr 21 23:01:59 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_space.c,v 1.21 2014/03/24 19:42:58 christos Exp $ */
+/* $NetBSD: bus_space.c,v 1.22 2023/04/21 23:01:59 tsutsui Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bus_space.c,v 1.21 2014/03/24 19:42:58 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_space.c,v 1.22 2023/04/21 23:01:59 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -47,7 +47,6 @@ __KERNEL_RCSID(0, "$NetBSD: bus_space.c,
extern int *nofault;
-/* ARGSUSED */
int
bus_space_map(bus_space_tag_t t, bus_addr_t bpa, bus_size_t size, int flags,
bus_space_handle_t *bshp)
@@ -92,7 +91,6 @@ bus_space_map(bus_space_tag_t t, bus_add
return 0;
}
-/* ARGSUSED */
int
bus_space_alloc(bus_space_tag_t t, bus_addr_t rstart, bus_addr_t rend,
bus_size_t size, bus_size_t alignment, bus_size_t boundary, int flags,
@@ -105,7 +103,6 @@ bus_space_alloc(bus_space_tag_t t, bus_a
return EINVAL;
}
-/* ARGSUSED */
void
bus_space_free(bus_space_tag_t t, bus_space_handle_t bsh, bus_size_t size)
{
@@ -158,7 +155,6 @@ bus_space_unmap(bus_space_tag_t t, bus_s
"can't free region\n", __func__, (u_long)bsh, size);
}
-/* ARGSUSED */
int
bus_space_subregion(bus_space_tag_t t, bus_space_handle_t bsh,
bus_size_t offset, bus_size_t size, bus_space_handle_t *nbshp)
@@ -168,7 +164,6 @@ bus_space_subregion(bus_space_tag_t t, b
return 0;
}
-/* ARGSUSED */
int
hp300_bus_space_probe(bus_space_tag_t t, bus_space_handle_t bsh,
bus_size_t offset, int sz)
Index: src/sys/arch/hp300/hp300/trap.c
diff -u src/sys/arch/hp300/hp300/trap.c:1.156 src/sys/arch/hp300/hp300/trap.c:1.157
--- src/sys/arch/hp300/hp300/trap.c:1.156 Sun Jan 15 06:19:46 2023
+++ src/sys/arch/hp300/hp300/trap.c Fri Apr 21 23:01:59 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.156 2023/01/15 06:19:46 tsutsui Exp $ */
+/* $NetBSD: trap.c,v 1.157 2023/04/21 23:01:59 tsutsui Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.156 2023/01/15 06:19:46 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.157 2023/04/21 23:01:59 tsutsui Exp $");
#include "opt_ddb.h"
#include "opt_execfmt.h"
@@ -248,7 +248,6 @@ machine_userret(struct lwp *l, struct fr
* including events such as simulated software interrupts/AST's.
* System calls are broken out for efficiency.
*/
-/*ARGSUSED*/
void
trap(struct frame *fp, int type, u_int code, u_int v)
{