From nobody Sun Oct 02 04:29:21 2022 X-Original-To: dev-commits-src-all@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 4Mg9wK5mHBz4dsrt; Sun, 2 Oct 2022 04:29:21 +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 4Mg9wK3pFpz43qf; Sun, 2 Oct 2022 04:29:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664684961; 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=3w02ZTyqCxbNv0li8uNnfx6Oz5Lzx4ft4ALvZrqSTDo=; b=FGp7/keWaBB0aXNHX5QXFlNNJo+gQdGVvMRpbc1sn6kJnDMo1olhLZwE1L+wZL4n8+ZkgW KNZvs+B4I2LWTGMcFfOoqCw2WLB062Xz1Zb+Hn050RKZ7eRjLavnh2Os6tSVFk7b/DhXvS NqSJp88XHLHHOo2R5ktYEwQ9qEotMHBudQMmFQs1v15cuZc3lzqU2UbDsEO8uYJbXHny5r QO4YGa4o6qBr0J+pdDeOfUrNcRDVeHzoKDcjWU3+fygakIOyxqFpGipi8Yl9jP1593oJNE POO/YNlrpL6q2q+K/r0L19sqptTJ9kzD+3jmdmgsxkuk4cZ323mjUobeSlQAQw== 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 4Mg9wK1cDpzlKH; Sun, 2 Oct 2022 04:29:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2924TLuO058052; Sun, 2 Oct 2022 04:29:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2924TLnB058051; Sun, 2 Oct 2022 04:29:21 GMT (envelope-from git) Date: Sun, 2 Oct 2022 04:29:21 GMT Message-Id: <202210020429.2924TLnB058051@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Warner Losh Subject: git: cb26d2021b14 - stable/13 - bhnd_pmu_sdiod_drive_strength_init: eliminate write only intr_val variable List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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/stable/13 X-Git-Reftype: branch X-Git-Commit: cb26d2021b14f6f5f8bec892b0b10dde9205b9a7 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664684961; 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=3w02ZTyqCxbNv0li8uNnfx6Oz5Lzx4ft4ALvZrqSTDo=; b=eqjh+e/sDVcPO1Hlbm8LDRduLYfZXut263xLQ9ZkTEUBMFFsiHAH71YRCsuv9E0CEfB+1O z9LbQblXxxO3adf7WPaY50UMvbdeB2UiTwqwM4TxUfQnDGYaznpitYW3QCMCnDVi9hpize LDTo67MbAHtuscoMdIXJB5OCXIE6bZwH+uLLWrGea+bFPAi3GQJNZ09wY5mO36FVYJUXlj E/Bbd4K4baIfQIoZqdGDHUpkUwi3U1hJ6CdroLEI8YldXJT/BcjaDJTcmlGZdcc54zk6Z4 Dk0wbTtUTL5fmgR292pdZxy/P63RTiGxCYlJOQpYbbpuKZN682TqfnseADDr/g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664684961; a=rsa-sha256; cv=none; b=G+NQAy/ogMgfvl6GOilnkQ1LzTWwP5sGvi5zeKBsYfQAEi82CTRK3aKXxQAtTEz3Y54kVo SvMrrmbVwR3AxF3u/CnxM6l2Jcr0f3963M6fF2JJv9I0NethjaoWLyh0rl1HtKNqFxTR0q j7mIjQ3HYDSKKXFQG2LkwkxkBiSCeksohuAjkqc6QzLMxiMH6l/viWJCVAGsxpH1+peAUe +dAx/l7xdfnEDPPQZOoAemzZUeGAzm8WUqeS5zdPiymBuNEtLIUdH/wURBS9T7iKox4Snl 434hfie0jzVSuGVUHLRUZRGbsvSTFQ3iQTdZ+/9VPtJxLdKT4shpbCw5z/VV5g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=cb26d2021b14f6f5f8bec892b0b10dde9205b9a7 commit cb26d2021b14f6f5f8bec892b0b10dde9205b9a7 Author: Warner Losh AuthorDate: 2022-07-08 17:53:29 +0000 Commit: Warner Losh CommitDate: 2022-10-02 04:25:51 +0000 bhnd_pmu_sdiod_drive_strength_init: eliminate write only intr_val variable Sponsored by: Netflix (cherry picked from commit 5466363900d28e473fa9d240ba15f2d5888fd045) --- sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c b/sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c index bb3f03b12d77..85f0495f321e 100644 --- a/sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c +++ b/sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c @@ -2604,12 +2604,10 @@ bhnd_pmu_sdiod_drive_strength_init(struct bhnd_pmu_softc *sc, const sdiod_drive_str_t *str_tab; uint32_t str_mask; uint32_t str_shift; - u_int intr_val; str_tab = NULL; str_mask = 0; str_shift = 0; - intr_val = 0; switch (SDIOD_DRVSTR_KEY(sc->cid.chip_id, BHND_PMU_REV(sc))) { case SDIOD_DRVSTR_KEY(BHND_CHIPID_BCM4325, 1):