From nobody Tue Mar 22 18:53:51 2022 X-Original-To: dev-commits-src-branches@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 D93451A2B6A9; Tue, 22 Mar 2022 18:53:52 +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 4KNLHN36Flz3tPs; Tue, 22 Mar 2022 18:53:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647975232; 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=LfMkejd+EcP+LJonXXPRlOShOucHOAg51Sk0IaH9bEA=; b=sBBFmT09P1sr0hYYz9yrbsO5Oj/BuyBigHcuOTfwFOew0YnFwLBpZvtadwDfLgAn26bfB1 agFtVzTiobrJSPZc9noGGL09me/gcq3yJSNZhvVQpd3XJRZjx+RLh0j+PJKUdEzwaTbDi7 6aqMzvBNVnSByNT8kzZp8Y9ijm5uXaSeZ1z4enmls9hGo61hv04R8QKZRVkrwqm/EHh6Dt vxD/TWoOxgxwK/me5v/41oVzCjCptEIgguQbRFrJrmpvEV0XnGhzc54RA/x58uyHYmq5j/ hA+v5YMamGO+C4fYBb/jyCMo7dZg9KBt9+BWpz84X3zlwRjqv7qBkSeQW+ABBA== 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 2027D14CE3; Tue, 22 Mar 2022 18:53:52 +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 22MIrp6A099705; Tue, 22 Mar 2022 18:53:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22MIrpQe099704; Tue, 22 Mar 2022 18:53:51 GMT (envelope-from git) Date: Tue, 22 Mar 2022 18:53:51 GMT Message-Id: <202203221853.22MIrpQe099704@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Piotr Pawel Stefaniak Subject: git: 15635c0ed3b1 - stable/13 - backlight: Remove set but not used variable List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pstef X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 15635c0ed3b13ab98e01f842652e44fdef451395 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647975232; 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=LfMkejd+EcP+LJonXXPRlOShOucHOAg51Sk0IaH9bEA=; b=vhE/dbXK/MCZbQykKLdmCVubu2pHXvmbE8hetGODGAeP1yZBiqIBwC/nh3YwJQHuIT4BIA Y4/nhX4/n8kMAi7vAEVA2tR5v/jFP8sV6X6wqZAOutWIKB8P0y1hMcb38M1+bOmwMLt0iE q2ljMvXRZfUuC1gZ0yxjPK9XKDqANKm20INMUNhWcaHMr5X968wOiMYzIsKWFyKNOS6N5/ oI++cf0lLFIaPHPTS6iyHT0gJYXiGfExm7NCOfe/YoiIElof2DeuxPulF05vSOYSqX7Ig8 reyPl7v64az+zHEe7zRy7xOQxhFU6KBMkFWzitrBeSbuzXUmkf1z4cLot+b7JA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647975232; a=rsa-sha256; cv=none; b=hGP1d8cW3qZzLognSw1zOTifIDJpKQyABab4Ji+m6ERIXV6XCkH9LeSg/R4BYtgK2Fp1ib ZPRPKmPP6HJlkfTc78wrGGoZj5tVwDLM94r9GzhsQyjardcOB3g0zH/A1UOJXQ8I3FY8Vk UUDkfhT78crlnF+RvfftRbpjpkgzEB4WMof+8x6cHCDgu8lOh93Q8akAYMlcdgv9Ox7A34 s6cSdzLlpfnoZGPATfQXq32r5LpmqlVPY4eBKZvKNxI2mLW628n5pxywYTHE54M8/HCsEw 0xorr/PphtoeibmDFNIpR5knAZvV6QvtcWD9a16mr/sk35bqX02rDHZ2RHki+w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by pstef: URL: https://cgit.FreeBSD.org/src/commit/?id=15635c0ed3b13ab98e01f842652e44fdef451395 commit 15635c0ed3b13ab98e01f842652e44fdef451395 Author: Piotr Pawel Stefaniak AuthorDate: 2022-03-17 21:37:15 +0000 Commit: Piotr Pawel Stefaniak CommitDate: 2022-03-22 17:36:04 +0000 backlight: Remove set but not used variable (cherry picked from commit fde687c239e55da067ebd94cfa36e3a8b3a57167) --- usr.bin/backlight/backlight.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/usr.bin/backlight/backlight.c b/usr.bin/backlight/backlight.c index 9cf7a0912e95..7c3f295223f5 100644 --- a/usr.bin/backlight/backlight.c +++ b/usr.bin/backlight/backlight.c @@ -101,11 +101,9 @@ main(int argc, char *argv[]) long percent = -1; const char *percent_error; uint32_t i; - bool setname; bool quiet = false; action = BACKLIGHT_QUERY; - setname = false; fd = -1; while ((ch = getopt(argc, argv, "f:qhi")) != -1) { @@ -114,7 +112,6 @@ main(int argc, char *argv[]) quiet = true; break; case 'f': - setname = true; set_device_name(optarg); break; case 'i':