summaryrefslogtreecommitdiff
path: root/sys/dev
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/dev
parent3f4b7c5f0adcfdffa19cefea0c39206811487db6 (diff)
Delete obsolete /* ARGSUSED */ lint comments.
ok miod@ millert@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/i2c/i2c_bitbang.c4
-rw-r--r--sys/dev/pci/cmpci.c4
-rw-r--r--sys/dev/pci/eso.c3
-rw-r--r--sys/dev/pci/if_ipw.c3
-rw-r--r--sys/dev/pci/if_iwi.c3
-rw-r--r--sys/dev/pckbc/pckbd.c3
-rw-r--r--sys/dev/rnd.c4
-rw-r--r--sys/dev/usb/if_mtw.c5
-rw-r--r--sys/dev/usb/if_otus.c5
-rw-r--r--sys/dev/usb/if_rsu.c5
-rw-r--r--sys/dev/usb/if_run.c5
-rw-r--r--sys/dev/usb/if_urtwn.c5
-rw-r--r--sys/dev/vnd.c5
13 files changed, 13 insertions, 41 deletions
diff --git a/sys/dev/i2c/i2c_bitbang.c b/sys/dev/i2c/i2c_bitbang.c
index b63a3682e71..19a13006873 100644
--- a/sys/dev/i2c/i2c_bitbang.c
+++ b/sys/dev/i2c/i2c_bitbang.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: i2c_bitbang.c,v 1.4 2013/04/20 14:27:09 kettenis Exp $ */
+/* $OpenBSD: i2c_bitbang.c,v 1.5 2023/03/08 04:43:08 guenther Exp $ */
/* $NetBSD: i2c_bitbang.c,v 1.1 2003/09/30 00:35:31 thorpej Exp $ */
/*
@@ -75,7 +75,6 @@ i2c_wait_for_scl(void *v, i2c_bitbang_ops_t ops)
return (0);
}
-/*ARGSUSED*/
int
i2c_bitbang_send_start(void *v, int flags, i2c_bitbang_ops_t ops)
{
@@ -94,7 +93,6 @@ i2c_bitbang_send_start(void *v, int flags, i2c_bitbang_ops_t ops)
return (0);
}
-/*ARGSUSED*/
int
i2c_bitbang_send_stop(void *v, int flags, i2c_bitbang_ops_t ops)
{
diff --git a/sys/dev/pci/cmpci.c b/sys/dev/pci/cmpci.c
index 1fa6bc3e259..fcd23270867 100644
--- a/sys/dev/pci/cmpci.c
+++ b/sys/dev/pci/cmpci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmpci.c,v 1.52 2022/10/26 20:19:08 kn Exp $ */
+/* $OpenBSD: cmpci.c,v 1.53 2023/03/08 04:43:08 guenther Exp $ */
/* $NetBSD: cmpci.c,v 1.25 2004/10/26 06:32:20 xtraeme Exp $ */
/*
@@ -802,7 +802,6 @@ cmpci_set_params(void *handle, int setmode, int usemode,
return 0;
}
-/* ARGSUSED */
int
cmpci_round_blocksize(void *handle, int block)
{
@@ -1745,7 +1744,6 @@ cmpci_get_port(void *handle, mixer_ctrl_t *cp)
return 0;
}
-/* ARGSUSED */
size_t
cmpci_round_buffersize(void *handle, int direction, size_t bufsize)
{
diff --git a/sys/dev/pci/eso.c b/sys/dev/pci/eso.c
index f0967505f7b..27dde7265b1 100644
--- a/sys/dev/pci/eso.c
+++ b/sys/dev/pci/eso.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: eso.c,v 1.53 2022/10/26 20:19:08 kn Exp $ */
+/* $OpenBSD: eso.c,v 1.54 2023/03/08 04:43:08 guenther Exp $ */
/* $NetBSD: eso.c,v 1.48 2006/12/18 23:13:39 kleink Exp $ */
/*
@@ -628,7 +628,6 @@ eso_reset(struct eso_softc *sc)
}
-/* ARGSUSED */
int
eso_open(void *hdl, int flags)
{
diff --git a/sys/dev/pci/if_ipw.c b/sys/dev/pci/if_ipw.c
index c8e367ab645..a9fc9d5cecb 100644
--- a/sys/dev/pci/if_ipw.c
+++ b/sys/dev/pci/if_ipw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ipw.c,v 1.132 2022/04/21 21:03:03 stsp Exp $ */
+/* $OpenBSD: if_ipw.c,v 1.133 2023/03/08 04:43:08 guenther Exp $ */
/*-
* Copyright (c) 2004-2008
@@ -1127,7 +1127,6 @@ ipw_cmd(struct ipw_softc *sc, uint32_t type, void *data, uint32_t len)
return error;
}
-/* ARGSUSED */
int
ipw_send_mgmt(struct ieee80211com *ic, struct ieee80211_node *ni, int type,
int arg1, int arg2)
diff --git a/sys/dev/pci/if_iwi.c b/sys/dev/pci/if_iwi.c
index b90210715b1..d086ade1efc 100644
--- a/sys/dev/pci/if_iwi.c
+++ b/sys/dev/pci/if_iwi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_iwi.c,v 1.147 2022/04/21 21:03:03 stsp Exp $ */
+/* $OpenBSD: if_iwi.c,v 1.148 2023/03/08 04:43:08 guenther Exp $ */
/*-
* Copyright (c) 2004-2008
@@ -1241,7 +1241,6 @@ iwi_cmd(struct iwi_softc *sc, uint8_t type, void *data, uint8_t len, int async)
return async ? 0 : tsleep_nsec(sc, PCATCH, "iwicmd", SEC_TO_NSEC(1));
}
-/* ARGSUSED */
int
iwi_send_mgmt(struct ieee80211com *ic, struct ieee80211_node *ni, int type,
int arg1, int arg2)
diff --git a/sys/dev/pckbc/pckbd.c b/sys/dev/pckbc/pckbd.c
index 4744ca55d8c..d81fd30f1f7 100644
--- a/sys/dev/pckbc/pckbd.c
+++ b/sys/dev/pckbc/pckbd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pckbd.c,v 1.47 2022/04/06 18:59:29 naddy Exp $ */
+/* $OpenBSD: pckbd.c,v 1.48 2023/03/08 04:43:08 guenther Exp $ */
/* $NetBSD: pckbd.c,v 1.24 2000/06/05 22:20:57 sommerfeld Exp $ */
/*-
@@ -1029,7 +1029,6 @@ pckbd_cnattach(pckbc_tag_t kbctag)
return (0);
}
-/* ARGSUSED */
void
pckbd_cngetc(void *v, u_int *type, int *data)
{
diff --git a/sys/dev/rnd.c b/sys/dev/rnd.c
index 5139d4288c9..9bce17cc9c8 100644
--- a/sys/dev/rnd.c
+++ b/sys/dev/rnd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rnd.c,v 1.225 2022/11/03 04:56:47 guenther Exp $ */
+/* $OpenBSD: rnd.c,v 1.226 2023/03/08 04:43:08 guenther Exp $ */
/*
* Copyright (c) 2011,2020 Theo de Raadt.
@@ -242,7 +242,6 @@ add_entropy_words(const u_int32_t *buf, u_int n)
* queue and entries from the consumer end of the queue which are
* likely to have collected more damage.
*/
-/* ARGSUSED */
void
dequeue_randomness(void *v)
{
@@ -616,7 +615,6 @@ arc4random_uniform(u_int32_t upper_bound)
return r % upper_bound;
}
-/* ARGSUSED */
void
rnd_init(void *null)
{
diff --git a/sys/dev/usb/if_mtw.c b/sys/dev/usb/if_mtw.c
index becbdfac320..8478423960b 100644
--- a/sys/dev/usb/if_mtw.c
+++ b/sys/dev/usb/if_mtw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_mtw.c,v 1.7 2022/07/28 00:56:02 kevlo Exp $ */
+/* $OpenBSD: if_mtw.c,v 1.8 2023/03/08 04:43:08 guenther Exp $ */
/*
* Copyright (c) 2008-2010 Damien Bergamini <damien.bergamini@free.fr>
* Copyright (c) 2013-2014 Kevin Lo
@@ -1657,7 +1657,6 @@ mtw_updateedca(struct ieee80211com *ic)
mtw_do_async(ic->ic_softc, mtw_updateedca_cb, NULL, 0);
}
-/* ARGSUSED */
void
mtw_updateedca_cb(struct mtw_softc *sc, void *arg)
{
@@ -1706,7 +1705,6 @@ mtw_updateslot(struct ieee80211com *ic)
mtw_do_async(ic->ic_softc, mtw_updateslot_cb, NULL, 0);
}
-/* ARGSUSED */
void
mtw_updateslot_cb(struct mtw_softc *sc, void *arg)
{
@@ -1899,7 +1897,6 @@ mtw_calibrate_to(void *arg)
/* next timeout will be rescheduled in the calibration task */
}
-/* ARGSUSED */
void
mtw_calibrate_cb(struct mtw_softc *sc, void *arg)
{
diff --git a/sys/dev/usb/if_otus.c b/sys/dev/usb/if_otus.c
index 4470bb26f8d..7f38503b964 100644
--- a/sys/dev/usb/if_otus.c
+++ b/sys/dev/usb/if_otus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_otus.c,v 1.71 2022/04/21 21:03:03 stsp Exp $ */
+/* $OpenBSD: if_otus.c,v 1.72 2023/03/08 04:43:08 guenther Exp $ */
/*-
* Copyright (c) 2009 Damien Bergamini <damien.bergamini@free.fr>
@@ -963,7 +963,6 @@ otus_newassoc(struct ieee80211com *ic, struct ieee80211_node *ni, int isnew)
}
}
-/* ARGSUSED */
void
otus_intr(struct usbd_xfer *xfer, void *priv, usbd_status status)
{
@@ -1570,7 +1569,6 @@ otus_updateedca(struct ieee80211com *ic)
otus_do_async(ic->ic_softc, otus_updateedca_cb, NULL, 0);
}
-/* ARGSUSED */
void
otus_updateedca_cb(struct otus_softc *sc, void *arg)
{
@@ -1634,7 +1632,6 @@ otus_updateslot(struct ieee80211com *ic)
otus_do_async(ic->ic_softc, otus_updateslot_cb, NULL, 0);
}
-/* ARGSUSED */
void
otus_updateslot_cb(struct otus_softc *sc, void *arg)
{
diff --git a/sys/dev/usb/if_rsu.c b/sys/dev/usb/if_rsu.c
index b581d8383a3..834fdee0bb7 100644
--- a/sys/dev/usb/if_rsu.c
+++ b/sys/dev/usb/if_rsu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_rsu.c,v 1.51 2022/04/21 21:03:03 stsp Exp $ */
+/* $OpenBSD: if_rsu.c,v 1.52 2023/03/08 04:43:08 guenther Exp $ */
/*-
* Copyright (c) 2010 Damien Bergamini <damien.bergamini@free.fr>
@@ -770,7 +770,6 @@ rsu_calib_to(void *arg)
usbd_ref_decr(sc->sc_udev);
}
-/* ARGSUSED */
void
rsu_calib_cb(struct rsu_softc *sc, void *arg)
{
@@ -948,7 +947,6 @@ rsu_set_key_cb(struct rsu_softc *sc, void *arg)
}
}
-/* ARGSUSED */
void
rsu_delete_key(struct ieee80211com *ic, struct ieee80211_node *ni,
struct ieee80211_key *k)
@@ -1624,7 +1622,6 @@ rsu_tx(struct rsu_softc *sc, struct mbuf *m, struct ieee80211_node *ni)
return (0);
}
-/* ARGSUSED */
int
rsu_send_mgmt(struct ieee80211com *ic, struct ieee80211_node *ni, int type,
int arg1, int arg2)
diff --git a/sys/dev/usb/if_run.c b/sys/dev/usb/if_run.c
index 8c45269e659..2d4408dd3ac 100644
--- a/sys/dev/usb/if_run.c
+++ b/sys/dev/usb/if_run.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_run.c,v 1.137 2022/05/10 08:20:36 stsp Exp $ */
+/* $OpenBSD: if_run.c,v 1.138 2023/03/08 04:43:08 guenther Exp $ */
/*-
* Copyright (c) 2008-2010 Damien Bergamini <damien.bergamini@free.fr>
@@ -1869,7 +1869,6 @@ run_updateedca(struct ieee80211com *ic)
run_do_async(ic->ic_softc, run_updateedca_cb, NULL, 0);
}
-/* ARGSUSED */
void
run_updateedca_cb(struct run_softc *sc, void *arg)
{
@@ -2076,7 +2075,6 @@ run_calibrate_to(void *arg)
/* next timeout will be rescheduled in the calibration task */
}
-/* ARGSUSED */
void
run_calibrate_cb(struct run_softc *sc, void *arg)
{
@@ -3762,7 +3760,6 @@ run_updateslot(struct ieee80211com *ic)
run_do_async(ic->ic_softc, run_updateslot_cb, NULL, 0);
}
-/* ARGSUSED */
void
run_updateslot_cb(struct run_softc *sc, void *arg)
{
diff --git a/sys/dev/usb/if_urtwn.c b/sys/dev/usb/if_urtwn.c
index 130d5b051ce..1839d076214 100644
--- a/sys/dev/usb/if_urtwn.c
+++ b/sys/dev/usb/if_urtwn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_urtwn.c,v 1.104 2023/01/16 22:08:50 jmatthew Exp $ */
+/* $OpenBSD: if_urtwn.c,v 1.105 2023/03/08 04:43:08 guenther Exp $ */
/*-
* Copyright (c) 2010 Damien Bergamini <damien.bergamini@free.fr>
@@ -900,7 +900,6 @@ urtwn_calib_to(void *arg)
usbd_ref_decr(sc->sc_udev);
}
-/* ARGSUSED */
void
urtwn_calib_cb(struct urtwn_softc *sc, void *arg)
{
@@ -1000,7 +999,6 @@ urtwn_updateslot(struct ieee80211com *ic)
urtwn_do_async(sc, urtwn_updateslot_cb, NULL, 0);
}
-/* ARGSUSED */
void
urtwn_updateslot_cb(struct urtwn_softc *sc, void *arg)
{
@@ -1020,7 +1018,6 @@ urtwn_updateedca(struct ieee80211com *ic)
urtwn_do_async(sc, urtwn_updateedca_cb, NULL, 0);
}
-/* ARGSUSED */
void
urtwn_updateedca_cb(struct urtwn_softc *sc, void *arg)
{
diff --git a/sys/dev/vnd.c b/sys/dev/vnd.c
index 4d865d3b187..947561ee622 100644
--- a/sys/dev/vnd.c
+++ b/sys/dev/vnd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vnd.c,v 1.179 2022/10/23 14:39:19 krw Exp $ */
+/* $OpenBSD: vnd.c,v 1.180 2023/03/08 04:43:08 guenther Exp $ */
/* $NetBSD: vnd.c,v 1.26 1996/03/30 23:06:11 christos Exp $ */
/*
@@ -359,14 +359,12 @@ vndstrategy(struct buf *bp)
splx(s);
}
-/* ARGSUSED */
int
vndread(dev_t dev, struct uio *uio, int flags)
{
return (physio(vndstrategy, dev, B_READ, minphys, uio));
}
-/* ARGSUSED */
int
vndwrite(dev_t dev, struct uio *uio, int flags)
{
@@ -391,7 +389,6 @@ vndbdevsize(struct vnode *vp, struct proc *p)
return (DL_GETPSIZE(pi.part));
}
-/* ARGSUSED */
int
vndioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p)
{