From nobody Sun Oct 02 04:29:24 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 4Mg9wN6SLrz4dss3; Sun, 2 Oct 2022 04:29:24 +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 4Mg9wN5BzWz44J6; Sun, 2 Oct 2022 04:29:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664684964; 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=wXey7OdjREIlJJQ0PlmyL0ynONj1VwNSBqzXGFauB5s=; b=JsmSKbVRZt3wfv+CuPT0Ox0PYZBo7sS1MJsbIwpTyGeC+fD4khabOQvTOXZK7VkT65Nf0W VxyoYLbeFnhImBQrqk+OTDczIUq7ewvqBOoZye37XXobxLH5O+Hf7vVcY6Vb5DbWeiV6Yc 72oWCjTHkxN/P3nc9jJyezsUm6HD/ZVfQ8xmpIlbyzJOUWvPfd42ZhHCDWskpEt+WCf3G/ rDHkx7NTiSXji+C2kp8VwmKGoQxP+WqBL+fsuTIJZk3/LlCTd2nZSFO9tcSwEKZ8cmnHT1 8IH0T7QXchlEtagM1x1eBZZ/7WsfJeBGX6eYjx5ndehzpqC7wqdRfV20oIlxFQ== 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 4Mg9wN44s4zlYG; Sun, 2 Oct 2022 04:29:24 +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 2924TOLb058130; Sun, 2 Oct 2022 04:29:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2924TOhX058129; Sun, 2 Oct 2022 04:29:24 GMT (envelope-from git) Date: Sun, 2 Oct 2022 04:29:24 GMT Message-Id: <202210020429.2924TOhX058129@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Warner Losh Subject: git: a0860f9781eb - stable/13 - cyapa_raw_input: elimmminate write only k 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: imp X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: a0860f9781eb532f0a3897eb0dedb17e4d63875d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664684964; 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=wXey7OdjREIlJJQ0PlmyL0ynONj1VwNSBqzXGFauB5s=; b=lsvmP563oVkhmlZrTZE6wUPryGpejCmZgWUvIgJnYjHln7BxsQvmHo/2L3Ya8dKg4EbCGW sbUTtkbgEGaVZD63j8E4irwtyu1Uzg/kWsVSTFHL/aa/2yH9qAu7ioUCyKi5J4v+jOS89o cXbDwsVdt0HTiaC63rh3F/x3ce5Y0//NI3KXrXYKdcEr+glZ5S+47TOXbqHZglgdRjo7JD HeYXvuml3R6jm4UNXgK0DH2SDj5lPZYoIxgwW1vXaJNxVJ+VfznReGU5hvUNCdNS12uZr4 wTcfYce3lS9M9nWCXf9zF2gkoqF0iLmODE4wOOqOcE9JvJm8M+XEpj5LPQeV8Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664684964; a=rsa-sha256; cv=none; b=ViKYcYsAaPcqo6lY6IpBx9uA10SdECryVLYoN2XpkaaZC1GOdkgsRq2iu0IKykBKc5Fpm9 oCIjXN+Qa9jSyCg3SG8q4HUF3uEHTkirzQN7altxcs0gF4sFxlmutdODY0d/9/CNRXUY0j gCDco+U1Qu1DMNIeQCpH2hwzZb2BlQyKiuC9xwLA8uqfxyZOcAMcI92AHkXRzMfzt+QSd0 +TdGVUgcZAwk/XjkXqq+bPXtYhJrW5RsLjb1gD5BLV+3EPCJraCg2UdBMIvyYnC7ZZKG1Q lstdu94pAR35kv5hedVobxY+x83s4mUiz+DwN+74clgcii1B4i5F0vyaaKwmRQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=a0860f9781eb532f0a3897eb0dedb17e4d63875d commit a0860f9781eb532f0a3897eb0dedb17e4d63875d Author: Warner Losh AuthorDate: 2022-07-08 17:53:30 +0000 Commit: Warner Losh CommitDate: 2022-10-02 04:25:52 +0000 cyapa_raw_input: elimmminate write only k variable Sponsored by: Netflix (cherry picked from commit 3ca3bb576b48667a694b1eab229870697586bb5d) --- sys/dev/cyapa/cyapa.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/cyapa/cyapa.c b/sys/dev/cyapa/cyapa.c index 39f3349d5217..6846c8b0e3c6 100644 --- a/sys/dev/cyapa/cyapa.c +++ b/sys/dev/cyapa/cyapa.c @@ -1336,7 +1336,6 @@ cyapa_raw_input(struct cyapa_softc *sc, struct cyapa_regs *regs, int freq) int afingers; /* actual fingers after culling */ int i; int j; - int k; int isidle; int thumbarea_begin; int seen_thumb; @@ -1485,7 +1484,6 @@ cyapa_raw_input(struct cyapa_softc *sc, struct cyapa_regs *regs, int freq) sc->track_but = 0; i = 0; j = 0; - k = 0; } else { /* * The id assigned on touch can move around in the array,