From nobody Fri Oct 27 20:19:46 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SHDXy4b3wz4ydWr; Fri, 27 Oct 2023 20:19:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SHDXy3vpDz4Ghc; Fri, 27 Oct 2023 20:19:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698437986; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6Blw9FJB4MKlPolVTraDh4WSlGE81KjfcUB7IcwBAns=; b=uDPoWKGVSDMe5sROFGat6HWbHTPHF6XXuwWeZ59Cu3jRpxtRrZW7mVttjlhrMVACGuifG5 ozVBlOiz+rKdGhjefBpjS/n0vDGVzsP0pGllb+lPSwes35fTtCSU2Aik/rWOaGakRAlkO/ W3dftzkkq+0TLtI/Jn8QGvz94F2R5JNwh6Qizyo5yFFXrhz2cXP+rFNGbaM3EpCpmdxzvQ JZV6D70NtFt5c75jP8OaH8kQUL+TD+xEJYKTrL2GR2zWqRp/vmPRjr29ZYxjHvioe/EyST tFKbSMJQpYuJKekG8s+fwwHZ2TJdX5EfJp3MzJF0JZAxjyfdlkj7Zi5zeor/Cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698437986; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6Blw9FJB4MKlPolVTraDh4WSlGE81KjfcUB7IcwBAns=; b=fKQmqvXEFAiBvOqmFAC12Zlolhyp5Rrnw3cbXIKNGNLm7ZrEbukD+G8+8E+VeKxbt0UIua CAzHaj2F873auA2sObtzNvnBDoHaYQ5WfWlORJ5WGXtK4sJjCZVwa2FSVA3B4480Mgg90N r3OwL5yKzFfUsg+i6kaMIsgEckR+ewAJL9q7WsIa6ZNewO5Sv3PTvZtSTQ6RUMck4n8wJi 0/gIAXhdWkjkLDAMpQLyK4o/inwXEneO/ufqPd1Ht8qmDOYPRJMefxhB8LMTcIlc2JMOL+ 9XyBZg5/ySYffh2fbox2slZPZbvfpF7Llanl1QDj4lzmFR4Utn0plAtQLQKftQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698437986; a=rsa-sha256; cv=none; b=r6W8lOj539JOOwaCjWQwdqyWYGbo3tcc9e/9Yx0wgVwM2amnx+weKJA7ZwWp2wAblj1fnQ rxkX2tCcmPo1r9nwRWfjI3Qiw5r3dBmblITd7slD9acNM1JStmWCigBk9AieKP3ulAXTqD Am0mLax9vMdbROCYntWbgsocPxHxQKS86HrI6fp6U9hJCiWE5xT3d2ukaFoB7ZXWPsMb8j KL/+3msf5YMk1cN2Ojudbtu7CNMH5SH5jo13rOx0KHB1jB2Ubr3BYYDp5zUnwXPfxqe8Hm k6WCR0KNPxSw43cOUkGdwyHxgNdb/ZSx+h/p/zRh7uQW56sveZL+6kN+Ih01fQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SHDXy2gskzCrM; Fri, 27 Oct 2023 20:19:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39RKJkNZ061526; Fri, 27 Oct 2023 20:19:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39RKJkqV061523; Fri, 27 Oct 2023 20:19:46 GMT (envelope-from git) Date: Fri, 27 Oct 2023 20:19:46 GMT Message-Id: <202310272019.39RKJkqV061523@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 538f8bdc8bc4 - main - otus: splnet isn't a thing, remove place holders List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 538f8bdc8bc4ebb868ab0ae12537815d27e310eb Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=538f8bdc8bc4ebb868ab0ae12537815d27e310eb commit 538f8bdc8bc4ebb868ab0ae12537815d27e310eb Author: Warner Losh AuthorDate: 2023-10-27 20:03:51 +0000 Commit: Warner Losh CommitDate: 2023-10-27 20:03:51 +0000 otus: splnet isn't a thing, remove place holders Even though it's if 0'd code, remove splnet/splx. This code can't possibly run on FreeBSD, but having it here as a marker isn't especially helpful. It causes a false positive on grepping otherwise. Sponsored by: Netflix --- sys/dev/otus/if_otus.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/dev/otus/if_otus.c b/sys/dev/otus/if_otus.c index aee765ff4ac8..c27b982d2d6e 100644 --- a/sys/dev/otus/if_otus.c +++ b/sys/dev/otus/if_otus.c @@ -3059,17 +3059,14 @@ otus_calibrate_to(void *arg, int pending) device_printf(sc->sc_dev, "%s: called\n", __func__); struct ieee80211com *ic = &sc->sc_ic; struct ieee80211_node *ni; - int s; if (usbd_is_dying(sc->sc_udev)) return; usbd_ref_incr(sc->sc_udev); - s = splnet(); ni = ic->ic_bss; ieee80211_amrr_choose(&sc->amrr, ni, &((struct otus_node *)ni)->amn); - splx(s); if (!usbd_is_dying(sc->sc_udev)) timeout_add_sec(&sc->calib_to, 1);