diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-09-20 02:00:47 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-09-20 02:00:47 +0000 |
commit | ed5be3cd5c0c9d7c05acb4a007ef174dfe1d20a2 (patch) | |
tree | 1f2c3605ce9ce75dae573fe64caa874965255235 /sys/dev/ic | |
parent | 9d855f50e028f54fce34e1db0d866a6255c5e78f (diff) |
remove unneeded semicolons; checked by millert@
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/adv.c | 4 | ||||
-rw-r--r-- | sys/dev/ic/adw.c | 6 | ||||
-rw-r--r-- | sys/dev/ic/ami.c | 4 | ||||
-rw-r--r-- | sys/dev/ic/rt2860.c | 4 | ||||
-rw-r--r-- | sys/dev/ic/rtwn.c | 4 | ||||
-rw-r--r-- | sys/dev/ic/ti.c | 6 |
6 files changed, 14 insertions, 14 deletions
diff --git a/sys/dev/ic/adv.c b/sys/dev/ic/adv.c index e32f1da5b26..fdc232da655 100644 --- a/sys/dev/ic/adv.c +++ b/sys/dev/ic/adv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: adv.c,v 1.53 2022/04/16 19:19:58 naddy Exp $ */ +/* $OpenBSD: adv.c,v 1.54 2024/09/20 02:00:46 jsg Exp $ */ /* $NetBSD: adv.c,v 1.6 1998/10/28 20:39:45 dante Exp $ */ /* @@ -468,7 +468,7 @@ adv_attach(ASC_SOFTC *sc) */ error = adv_alloc_ccbs(sc); if (error) - return; /* (error) */ ; + return; /* (error) */ /* * Create and initialize the Control Blocks. diff --git a/sys/dev/ic/adw.c b/sys/dev/ic/adw.c index e91d2b24586..33e253ed3e9 100644 --- a/sys/dev/ic/adw.c +++ b/sys/dev/ic/adw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: adw.c,v 1.70 2024/04/13 23:44:11 jsg Exp $ */ +/* $OpenBSD: adw.c,v 1.71 2024/09/20 02:00:46 jsg Exp $ */ /* $NetBSD: adw.c,v 1.23 2000/05/27 18:24:50 dante Exp $ */ /* @@ -423,7 +423,7 @@ adw_attach(ADW_SOFTC *sc) */ error = adw_alloc_controls(sc); if (error) - return; /* (error) */ ; + return; /* (error) */ /* * Create and initialize the Control Blocks. @@ -444,7 +444,7 @@ adw_attach(ADW_SOFTC *sc) */ error = adw_alloc_carriers(sc); if (error) - return; /* (error) */ ; + return; /* (error) */ /* * Zero's the freeze_device status diff --git a/sys/dev/ic/ami.c b/sys/dev/ic/ami.c index 98195eccd6c..8833497c885 100644 --- a/sys/dev/ic/ami.c +++ b/sys/dev/ic/ami.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ami.c,v 1.263 2024/06/26 01:40:49 jsg Exp $ */ +/* $OpenBSD: ami.c,v 1.264 2024/09/20 02:00:46 jsg Exp $ */ /* * Copyright (c) 2001 Michael Shalayeff @@ -1772,7 +1772,7 @@ ami_mgmt(struct ami_softc *sc, u_int8_t opcode, u_int8_t par1, u_int8_t par2, cmd->acc_io.aio_param = par2; cmd->acc_io.aio_pad[0] = par3; break; - }; + } cmd->acc_io.aio_data = am ? htole32(AMIMEM_DVA(am)) : 0; diff --git a/sys/dev/ic/rt2860.c b/sys/dev/ic/rt2860.c index 1bab22ffac2..07aeeff7171 100644 --- a/sys/dev/ic/rt2860.c +++ b/sys/dev/ic/rt2860.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rt2860.c,v 1.103 2024/04/14 03:26:25 jsg Exp $ */ +/* $OpenBSD: rt2860.c,v 1.104 2024/09/20 02:00:46 jsg Exp $ */ /*- * Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr> @@ -3271,7 +3271,7 @@ rt2860_read_eeprom(struct rt2860_softc *sc) sc->ext_5ghz_lna = (val >> 3) & 1; sc->ext_2ghz_lna = (val >> 2) & 1; /* check if RF supports automatic Tx access gain control */ - sc->calib_2ghz = sc->calib_5ghz = 0; /* XXX (val >> 1) & 1 */; + sc->calib_2ghz = sc->calib_5ghz = 0; /* XXX (val >> 1) & 1 */ /* check if we have a hardware radio switch */ sc->rfswitch = val & 1; } diff --git a/sys/dev/ic/rtwn.c b/sys/dev/ic/rtwn.c index 3df98b19fa7..0bc314e7d56 100644 --- a/sys/dev/ic/rtwn.c +++ b/sys/dev/ic/rtwn.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtwn.c,v 1.58 2024/06/26 01:40:49 jsg Exp $ */ +/* $OpenBSD: rtwn.c,v 1.59 2024/09/20 02:00:46 jsg Exp $ */ /*- * Copyright (c) 2010 Damien Bergamini <damien.bergamini@free.fr> @@ -2536,7 +2536,7 @@ rtwn_set_chan(struct rtwn_softc *sc, struct ieee80211_channel *c, rtwn_rf_write(sc, i, 0x87, 0x65); rtwn_rf_write(sc, i, 0x1c, 0); rtwn_rf_write(sc, i, 0xdf, 0x0140); - rtwn_rf_write(sc, i, 0x1b, 0x1c6c);; + rtwn_rf_write(sc, i, 0x1b, 0x1c6c); } } } diff --git a/sys/dev/ic/ti.c b/sys/dev/ic/ti.c index c1cc0df7d05..1aae1d1f148 100644 --- a/sys/dev/ic/ti.c +++ b/sys/dev/ic/ti.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ti.c,v 1.30 2023/11/10 15:51:20 bluhm Exp $ */ +/* $OpenBSD: ti.c,v 1.31 2024/09/20 02:00:46 jsg Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -781,7 +781,7 @@ ti_init_rx_ring_jumbo(struct ti_softc *sc) for (i = 0; i < TI_JUMBO_RX_RING_CNT; i++) { if (ti_newbuf_jumbo(sc, i, NULL, 0) == ENOBUFS) return (ENOBUFS); - }; + } TI_UPDATE_JUMBOPROD(sc, i - 1); sc->ti_jumbo = i - 1; @@ -812,7 +812,7 @@ ti_init_rx_ring_mini(struct ti_softc *sc) for (i = 0; i < TI_MSLOTS; i++) { if (ti_newbuf_mini(sc, i, NULL, 0) == ENOBUFS) return (ENOBUFS); - }; + } TI_UPDATE_MINIPROD(sc, i - 1); sc->ti_mini = i - 1; |