From nobody Fri Jul 08 21:46:28 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 A450A17D2795; Fri, 8 Jul 2022 21:46:28 +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 4Lfn0h4JSgz3lnd; Fri, 8 Jul 2022 21:46:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657316788; 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=bUYrYoP4lFAF7qRg+AB4MUYh8AbslPVibVht4uOMHLI=; b=hNz5riFbr9mWmcYbs1z/495GaUz862iWncXccRxecSQvSwed1g8K98r54ok8GrsfXalZ94 j/CS1tbkeEQGtZfaWCX6BD67+JnR0oQA2YWb+f5bYxmdyIgreZEH1EkWaSEL/Ha3q59jpj 8Mb5aE8b8rlxGXLkaYC2HT32t5/T/Uf5PNRfikotR0Vc2AUgwec//mjcEFIT2+bk4NmKLQ PKVvyhwVNduPUSNUcfDhpZfAOKhN27V5ZIsZ6F5OanfJ7GLnLI4aSJ3MHiGIplMd29kgAA KsiaJXrPyu1lHCdR0My61J+wBQXDJ+OyZWl2CtxXMEV9bt4bckkIEKNG4vPbBw== 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 4Lfn0h3Lr4zM8n; Fri, 8 Jul 2022 21:46:28 +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 268LkSIG000603; Fri, 8 Jul 2022 21:46:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 268LkS8a000602; Fri, 8 Jul 2022 21:46:28 GMT (envelope-from git) Date: Fri, 8 Jul 2022 21:46:28 GMT Message-Id: <202207082146.268LkS8a000602@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Kirk McKusick Subject: git: e349fcc80aa2 - stable/13 - Eliminate set but not used 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: mckusick X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: e349fcc80aa2050adc38318685c3654e831cefbf Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657316788; 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=bUYrYoP4lFAF7qRg+AB4MUYh8AbslPVibVht4uOMHLI=; b=LKyWfVEAQmOiDV9Xn4RFFQFOIc6df1EIlqK0UnEZW9u54N49b3r9pl3hESwC0A9dVJzM1j EN9IcNMPB+Yisrg48UIhoRMmhFl7TLubqn44oY7dOjekTD/pIeKOGJQPz+jyTSWOFWEvAX vXQ1wgsqvgK9FEyajcSC7Fs6x0RmyOR4X+L2ShROxoLbSsp0XyCNszBMOYeI74SE/5RSCB WMfHGL+nDEqx+xfegH9CQrIDmGROEOP2Fjjv8fdxrNknkJCEgL+BZNh2RTDAm+UKMpiL3y yWEg3SCog1MT3+Sc1nb2wH0d0bPvbOMOk8ybUCg9O4KmvssMc2jH97fh4m14Qg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657316788; a=rsa-sha256; cv=none; b=pHovjhSTXv2bPi5M+M5Olb/Pi2s6cUnPYD49tKONwllil09Da1IQYFZ+Fv6HOPaOYHjW8H LbJHlxiwt7XvoU9YiYoxm7aebp6atBPdR6Ipnl4cnOb9VAzxmv2oSOjqxZyUX5E6bMQaCm flAPk6obaa6aWTbVom+M7ZY8XqUHnlQrqPU4C4PqbstO8xhy9C0tNzwDOOE86mxuXRhK9c np31i6puhW9gM/+kjox0lQ0KTiQQKx3oYewN4G3YIIu8a4sADvoCwyob3E03GWuJnjRc/u LeM+NSN0SkEeZaOOqJxk1E2HlrJkoig+rOuLsUZap2f5MwR1DHOl2hmy4HiNWQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by mckusick: URL: https://cgit.FreeBSD.org/src/commit/?id=e349fcc80aa2050adc38318685c3654e831cefbf commit e349fcc80aa2050adc38318685c3654e831cefbf Author: Kirk McKusick AuthorDate: 2022-06-28 04:37:09 +0000 Commit: Kirk McKusick CommitDate: 2022-07-08 21:46:16 +0000 Eliminate set but not used variable. No functional change intended. (cherry picked from commit 78dfcf256a443df2a43bdfcce6b7d7af143d964f) --- sbin/growfs/growfs.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sbin/growfs/growfs.c b/sbin/growfs/growfs.c index 1f1bcf82c965..6a57924fb7bc 100644 --- a/sbin/growfs/growfs.c +++ b/sbin/growfs/growfs.c @@ -560,7 +560,7 @@ static void updjcg(int cylno, time_t modtime, int fsi, int fso, unsigned int Nflag) { DBG_FUNC("updjcg") - ufs2_daddr_t cbase, dmax, dupper; + ufs2_daddr_t cbase, dmax; struct csum *cs; int i, k; int j = 0; @@ -607,9 +607,6 @@ updjcg(int cylno, time_t modtime, int fsi, int fso, unsigned int Nflag) dmax = cbase + sblock.fs_fpg; if (dmax > sblock.fs_size) dmax = sblock.fs_size; - dupper = cgdmin(&sblock, cylno) - cbase; - if (cylno == 0) /* XXX fscs may be relocated */ - dupper += howmany(sblock.fs_cssize, sblock.fs_fsize); /* * Set pointer to the cylinder summary for our cylinder group.