From nobody Tue Apr 05 04:32:34 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 767A81A916B5; Tue, 5 Apr 2022 04:32:35 +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 4KXZW713LXz4gVC; Tue, 5 Apr 2022 04:32:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649133155; 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=DUfGQRht08rJT69Q5dyhHstIP8vkhWQ3+65+WXeLSrQ=; b=AcOfuzxQQ4ufalB4gQvEBxnrbjYzrVTNcXM+HV7/Fi/9J1499GgRDza5IkgVICZ72ipUdr DM3GbEFg+tgekOCjfMM3NuU7p0LHMUbzV58PW0GdLqb4sVTMt+sTbyAEnNki9c5Jl7bMpv AXeHuRHHQIdIntMSMnHzt3hps/hRpFOtj6g6s/4i7PzawZF7AIG/X4qfWeEBBzmFFTlZJ8 4OiOJfrSKSRAcVgTxXXFjI2sUDwTUV8SB7j3gJ4UIGyivWlHojqUaxlW2xaxsMa+aSs3p7 T8JmCbF8FxhzYAT744BZ1+Wvze/IoscyfuqKyyS64Ug9CnKiY6j8NLITCMbIZA== 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 E8E7C1FEDB; Tue, 5 Apr 2022 04:32:34 +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 2354WY9H009189; Tue, 5 Apr 2022 04:32:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2354WY8A009188; Tue, 5 Apr 2022 04:32:34 GMT (envelope-from git) Date: Tue, 5 Apr 2022 04:32:34 GMT Message-Id: <202204050432.2354WY8A009188@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: 668986eae9b5 - main - sb16_probe: eliminate write only variable r 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/main X-Git-Reftype: branch X-Git-Commit: 668986eae9b5d7da35a27445c1f306604caa0429 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649133155; 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=DUfGQRht08rJT69Q5dyhHstIP8vkhWQ3+65+WXeLSrQ=; b=VsIvV8s91OtxuUsvBQp46QKJrM2BJu06OtE3Ls+82PaigV2nQNHEIC33IK1d6DcObSG8X/ 8dJ4aHtCs0LmqHiIx/oagZdU9AF2xdHQPEk8tH/2Gbu5daJOCKZFl76OZp42ofBCXEeIVW tKz/uSMiRWJtbdImFrLWu3mFiIJ+uIZfaIDSnsLaLRWb+dl6OoKwQmh8gvP2pytibvVgH7 OXBM2E4w9r7lGxLRX+KuStms1X02N7pxX/nqpp5zR66wwCx8JiCVVHtAvAS0mJuKB2CrPK VE0AAHCP1ifqMCmFY7mUXqb+Pq/u1P85Oym3R0fwaqYZx8prsn7pEkyenxDYXw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649133155; a=rsa-sha256; cv=none; b=LY6V5fOYeGVg31Xz47lnMlzPXONdI0sxDIcUEDYXjTrx1UMwz0pfrFEsH4DyTm6TU9nlaI 0yKa5TEySClhl45UemjcsCYwIa6tRNzAC0dCS0xy1FsKwG3fdoNsC0Lghl/enYbP2Bi/zu Z5/YAgub8aMw2iHJjNwK+WjO+t4l/dyz5nPSXWGk7f8vjbyrba39uHVH3oLBSLZ3K6jjnK 5gnH42sc5H5J+dr23j9dzKC6Q3c8CXOG/xYgDzaUNGb6dk3fnCDNcibKe+ZDHIOvRqhbln +VV/yf0lQTdCswV0annjNKxwJkDgOySDnbxPIOVbdcbJqcY0jx0xcjztrXUrag== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=668986eae9b5d7da35a27445c1f306604caa0429 commit 668986eae9b5d7da35a27445c1f306604caa0429 Author: Warner Losh AuthorDate: 2022-04-05 02:14:21 +0000 Commit: Warner Losh CommitDate: 2022-04-05 04:30:01 +0000 sb16_probe: eliminate write only variable r Sponsored by: Netflix --- sys/dev/sound/isa/sb16.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/sound/isa/sb16.c b/sys/dev/sound/isa/sb16.c index 7d750d054b29..cc65fe418350 100644 --- a/sys/dev/sound/isa/sb16.c +++ b/sys/dev/sound/isa/sb16.c @@ -788,14 +788,14 @@ static int sb16_probe(device_t dev) { char buf[64]; - uintptr_t func, ver, r, f; + uintptr_t func, ver, f; /* The parent device has already been probed. */ - r = BUS_READ_IVAR(device_get_parent(dev), dev, 0, &func); + BUS_READ_IVAR(device_get_parent(dev), dev, 0, &func); if (func != SCF_PCM) return (ENXIO); - r = BUS_READ_IVAR(device_get_parent(dev), dev, 1, &ver); + BUS_READ_IVAR(device_get_parent(dev), dev, 1, &ver); f = (ver & 0xffff0000) >> 16; ver &= 0x0000ffff; if (f & BD_F_SB16) {