From nobody Tue Jun 20 16:29:35 2023 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 4QlsXw2rXMz4gJjP; Tue, 20 Jun 2023 16:29:36 +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 4QlsXw1dXCz4Ljt; Tue, 20 Jun 2023 16:29:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687278576; 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=N7ltP23yYwLLg3jBPdPvm477MuHD//bRFy6TwL3v2G4=; b=Hpm/LeNfvlFfMb/Nzd7jRu3iVVEjQohxQVorUzY4mpp8zv1O64Q29aKMbdHFzwy2SjiTIQ ueeGebQR6sVpJtfd9atMKJVwMXFtZztPV41Z03JW4SpqSLyJdAjUrN1pjE0Mayx/VxRBuj X/VEFWxMtaLSSkN4TgcQ1eayqpz2gGGxm3eda7beuJYxySIXtimmvLjD14rnG3EX7V0XOC /IJWxQ+bDKJqDe8AgC6VT0f/lk7kJMJa5+pnPcR32N+vmkL6ee/ykz1VxMI+PeLucDiXMx Yc0AAC4ASvglA85I/GBCuCEu/e/Xizr/7pJhSVTy9ZqSo3Ji/c81WOKhPgd+1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687278576; 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=N7ltP23yYwLLg3jBPdPvm477MuHD//bRFy6TwL3v2G4=; b=xdXhzVlkHmKTYeCL4ar7eVteHlgc1lYGD5DkCTw55noD69zdrlIRuI7yHJeDp/EGs1D6Ye c9HH97FNN7sTy91JOUtiAlTXJBtyuYO14PK/fXe5DD1RSNjvKrRPhu/zn8pEI/NdoJThur X4G3PgJ3AbbLtLAt+qJle3uMqGiaDcxbIuHBMly7nbcvGHBoflhp5R+qS/af7qz4cSGMBf 6CaGRu6eIBFVOWmKDMjhhO3MY7XkLYFnnuiwXS1LpVHM6zD98PvR5FSIei7wkeA1e7M/lR ZarGOt+dd5csgMbmxvfDR+BamSTJNbuUgFlIJuQJybyIAW7l4w7PLtPdaHbEMQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687278576; a=rsa-sha256; cv=none; b=W9dZIyz7GuKUM4NvS7YC2mhr1edWrwcl8pdFJXkcHONTeWwY4vXWUS4CT9UcRNsBDQuka4 WF1cQlNq2GTkNqGAednAzNU+CfTDWlLvAIVFaTI96DHzVsxBuTNkUDebXVFJD6nXj04gUZ cjSPNUfTt44S8oBAdZTIdanGzZG99YT6IXD0NqG4ztT6Pvhws+wI8f6n1vOD9o7/BkW2+z FriHxdpLW7H92DRl89MZBkcy8L02Ca02iKTb0EOEzoaVJxreDpHDW5N/wGwoheqOpakxuT iwMjSFNeUzgyzbeISNHtXAkE01dYFAMHs7p52vAg3ExIIyW/aj37uUi7VgXjKw== 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 4QlsXw0Y7Qz166Y; Tue, 20 Jun 2023 16:29:36 +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 35KGTaGn045416; Tue, 20 Jun 2023 16:29:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35KGTZS0045415; Tue, 20 Jun 2023 16:29:35 GMT (envelope-from git) Date: Tue, 20 Jun 2023 16:29:35 GMT Message-Id: <202306201629.35KGTZS0045415@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 80badfcb70cf - main - iostat: Remove set but unused 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: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 80badfcb70cf79560951f79245f765c444083e1f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=80badfcb70cf79560951f79245f765c444083e1f commit 80badfcb70cf79560951f79245f765c444083e1f Author: John Baldwin AuthorDate: 2023-06-20 16:29:00 +0000 Commit: John Baldwin CommitDate: 2023-06-20 16:29:00 +0000 iostat: Remove set but unused variable. --- usr.sbin/iostat/iostat.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/usr.sbin/iostat/iostat.c b/usr.sbin/iostat/iostat.c index 9140bf10ef07..7c4dcf16e0a5 100644 --- a/usr.sbin/iostat/iostat.c +++ b/usr.sbin/iostat/iostat.c @@ -179,7 +179,7 @@ int main(int argc, char **argv) { int c, i; - int tflag = 0, hflag = 0, cflag = 0, wflag = 0, nflag = 0; + int hflag = 0, cflag = 0, wflag = 0, nflag = 0; int count = 0, waittime = 0; char *memf = NULL, *nlistf = NULL; struct devstat_match *matches; @@ -239,7 +239,6 @@ main(int argc, char **argv) oflag++; break; case 't': - tflag++; if (devstat_buildmatch(optarg, &matches, &num_matches) != 0) errx(1, "%s", devstat_errbuf);