Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/hp300 Remove ancient /* ARGSUSED */ lint comments.



details:   https://anonhg.NetBSD.org/src/rev/732a62ac510b
branches:  trunk
changeset: 374401:732a62ac510b
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Apr 21 23:01:59 2023 +0000

description:
Remove ancient /* ARGSUSED */ lint comments.

diffstat:

 sys/arch/hp300/dev/ct.c          |  8 ++------
 sys/arch/hp300/dev/dcm.c         |  8 ++------
 sys/arch/hp300/dev/rd.c          |  5 ++---
 sys/arch/hp300/hp300/bus_space.c |  9 ++-------
 sys/arch/hp300/hp300/trap.c      |  5 ++---
 5 files changed, 10 insertions(+), 25 deletions(-)

diffs (210 lines):

diff -r b425bf0aa856 -r 732a62ac510b sys/arch/hp300/dev/ct.c
--- a/sys/arch/hp300/dev/ct.c   Fri Apr 21 22:44:27 2023 +0000
+++ b/sys/arch/hp300/dev/ct.c   Fri Apr 21 23:01:59 2023 +0000
@@ -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)
 {
diff -r b425bf0aa856 -r 732a62ac510b sys/arch/hp300/dev/dcm.c
--- a/sys/arch/hp300/dev/dcm.c  Fri Apr 21 22:44:27 2023 +0000
+++ b/sys/arch/hp300/dev/dcm.c  Fri Apr 21 23:01:59 2023 +0000
@@ -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)
 {
diff -r b425bf0aa856 -r 732a62ac510b sys/arch/hp300/dev/rd.c
--- a/sys/arch/hp300/dev/rd.c   Fri Apr 21 22:44:27 2023 +0000
+++ b/sys/arch/hp300/dev/rd.c   Fri Apr 21 23:01:59 2023 +0000
@@ -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)
 {
diff -r b425bf0aa856 -r 732a62ac510b sys/arch/hp300/hp300/bus_space.c
--- a/sys/arch/hp300/hp300/bus_space.c  Fri Apr 21 22:44:27 2023 +0000
+++ b/sys/arch/hp300/hp300/bus_space.c  Fri Apr 21 23:01:59 2023 +0000
@@ -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 @@
 
 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)
diff -r b425bf0aa856 -r 732a62ac510b sys/arch/hp300/hp300/trap.c
--- a/sys/arch/hp300/hp300/trap.c       Fri Apr 21 22:44:27 2023 +0000
+++ b/sys/arch/hp300/hp300/trap.c       Fri Apr 21 23:01:59 2023 +0000
@@ -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)
 {



Home | Main Index | Thread Index | Old Index