From nobody Tue Apr 05 04:32:33 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 30B5C1A91791; 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 4KXZW573NLz4gDK; Tue, 5 Apr 2022 04:32:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649133154; 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=3sK3uFyunnJgmRSLC53nQT1vgQ07Z2e7nts/dIcnnjY=; b=AbeGRt0AbQKrqUipl6uERlgBzKeFh1BBVMgxjL59jE5F7OYA1+MIVwgL7dqkT6UDha2dcR uEe6CykOMQD9GlGFpOAnwl2So1plTVkBM1t2PGVzAqnZnOjuzRl6EzKbcCMIDuzwIIZP7l W5VMbCU55gH9yAjGvSHritAjKW7di92ZV8idgIM9HLgD6sN0j4IetNhXCH9vj7ZCTssqNq gPQxC/aqpRxf/zuYLfN+U7gV+HXgiQNMd6IiF0nb+D6pnvoWAYMKkuc8T+20pzC6SwdomN g4TOPN5xJga/CzNfm4XAZuaPajWI+IHXKq1V/uzCwNkMdvQ/AbfiQFfjTblTEg== 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 C8ED21FC1B; Tue, 5 Apr 2022 04:32:33 +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 2354WXtB009159; Tue, 5 Apr 2022 04:32:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2354WXTX009158; Tue, 5 Apr 2022 04:32:33 GMT (envelope-from git) Date: Tue, 5 Apr 2022 04:32:33 GMT Message-Id: <202204050432.2354WXTX009158@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: 3a7365acc813 - main - ess_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: 3a7365acc813173c02c4346044615a18e29b71ac Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649133154; 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=3sK3uFyunnJgmRSLC53nQT1vgQ07Z2e7nts/dIcnnjY=; b=XVlROF3FIdZve5dfvO0ZNxphrBCJ74Dbbl7TSb65cMZFWVGCZQDrsj56/9Lnkb4nTJdYuI QxBI58mE7P3XE8fHj8X2K9b9lPETonWX4p03ukuP4Y1KovKHk2LxfvjW+OpRhPIvXPTTIb wXa9F2S5GrYVwGgvsEGNwG4Sup8JBQ1M4gwemzSLcTbJ4prdRCfKBwZ18kWnoBMmLStIpj DBRns1foZD11uTR1xgkh4RNk7bc99GMthFqLe56PShzWA+pQRfMDTzzTLGMR/KTVbnmTUv 7euh8u8pXAOMzEoY4DlhiD1bw6C8BRfOD0slEXiHzzS2XbvP26KNVHuYlle1pg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649133154; a=rsa-sha256; cv=none; b=nhDpm1qTYdUA6F7C3X8sPA9Dl+SlBSYEUJxjTwjwa3qyQU5D6+3SVw/Wud9GlBcRr7+rVX 1HShHwqSLxPDhSx9327tSLrbnRaHQJdgkelZZOfW/tmdL3El9v4uhGUvvXic9kptg3dQSd znussCWPzFW/g6NCzGcP4Gyl+Ccs+CqompbLyD0EvLXau/RXofoW1zGNR+SZGo8UUuRpu4 Lu5DBuzadFbLzacxUh8nS/+IaTlUC4ZZglZSbFW7PmYnqvQGEblsfSl6dE7tbXPqhfPFPp C7np2X5kX+ut1x/ziFdTgGVgA+KcvclCmxn4meO8jl6NO0wxkZuyOfzwjIAPLw== 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=3a7365acc813173c02c4346044615a18e29b71ac commit 3a7365acc813173c02c4346044615a18e29b71ac Author: Warner Losh AuthorDate: 2022-04-05 02:13:56 +0000 Commit: Warner Losh CommitDate: 2022-04-05 04:29:59 +0000 ess_probe: eliminate write only variable r Sponsored by: Netflix --- sys/dev/sound/isa/ess.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/sound/isa/ess.c b/sys/dev/sound/isa/ess.c index 626f8b356537..b982b051fbaf 100644 --- a/sys/dev/sound/isa/ess.c +++ b/sys/dev/sound/isa/ess.c @@ -788,14 +788,14 @@ MIXER_DECLARE(essmixer); static int ess_probe(device_t dev) { - 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; if (!(f & BD_F_ESS)) return (ENXIO);