From nobody Tue Apr 05 04:32:11 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 6A3661A90130; Tue, 5 Apr 2022 04:32:13 +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 4KXZVh3lh0z4fqp; Tue, 5 Apr 2022 04:32:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649133132; 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=h0GajKeUHSFgqFCPC/8pjOzX7/q3XMkhascW3Uylvg0=; b=RrV7id1glR0STU0f2lKjLcNFn01kZPiXbi/w09G17TN0YAe3KdylZN1YBaCtNX61OMCzXh oDgAVT/2fOOV7f07Cai3/OdcgBIjhqBXWYkMPYVHUdkxm4DgB89ZSUHKsR3QXg0a/HPE88 QOWOLFct83IUSeyNhtyM8HaG3OV3EtKdtrdOZfiBWpHAuTYFXuGWWPRwlqg7X7PU5ygXLV oQXE/pmalTtFKTwYdRVPCqLK5yMCEinoqi2zjeCLOXKd4wQDilzd3upHCfoG06iEXQGCgR iqexNaWnVNS/VdkgBr45w/YtKWiS9PMTYQJR57TSwxs9UlicW/Ylk2ojq/OQnA== 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 DD6F81F854; Tue, 5 Apr 2022 04:32:11 +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 2354WBcj008683; Tue, 5 Apr 2022 04:32:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2354WBn7008682; Tue, 5 Apr 2022 04:32:11 GMT (envelope-from git) Date: Tue, 5 Apr 2022 04:32:11 GMT Message-Id: <202204050432.2354WBn7008682@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: 3ca3bb576b48 - main - 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/main X-Git-Reftype: branch X-Git-Commit: 3ca3bb576b48667a694b1eab229870697586bb5d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649133132; 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=h0GajKeUHSFgqFCPC/8pjOzX7/q3XMkhascW3Uylvg0=; b=Dxu9yBpjszOFaJ6WE7+PF0PKIoRvcBqtua3SfKJuurFuDqhWmYV7uBTmIN+XX4OL2xop9+ 0uEakoRq2VqtmQTWl/k6eHIK07y63fmfuGZVXiWSLEImkQl3RLOJDo72/lsHcV1hNJWijb 7tCW6iMEicLCJFqGRV5VVXtP63M9oG7ryVgopxgj7d7KChojNap2M1PURu1aQeyp/se7QM +lfIUz/N1juI9GyIazXf9vK+0OuZ4NHctF5nHdxOYIz7CPU2Nk1P/cezWn/j7TpvoxpaK3 AZKx0/Uj2XB3CKrAqUK3KnV8kr4QIcj8cI6ZmF0sWsnHfumiLSGQVxn7kvqCgw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649133132; a=rsa-sha256; cv=none; b=u2VrP7nSgBVzMpuVelI65TQjQ8yRQhVEnEVn8NC9aA9NI3J8mgPYHABAJxBM4BNBR70R2C F2bfFwFf8RUxwnDUmyGK3t297uOZH+x8PE1bKtOcZI5TF6XkXUQPi5adNTWBPmepsSt8oR fc1GBWSlSw7xT3TXFI60Jb+ezUJj3zfo2mJldCBTzSVt8H2WeEfOCLeguyfDirdPUHXsam MX9FnCHXdKtBRkjs3Sah0Mi1lPcxiYbznI3z8sdNPo+4CDkf1sW6wT8xaCZJlqsOJMgbNM nl4NMq1BC408fDfzHKsYR8GcxvxbSY+ghuOV/07T1R3dxKeP/c2vjKJX9+nN9w== 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=3ca3bb576b48667a694b1eab229870697586bb5d commit 3ca3bb576b48667a694b1eab229870697586bb5d Author: Warner Losh AuthorDate: 2022-04-05 00:02:52 +0000 Commit: Warner Losh CommitDate: 2022-04-05 04:29:25 +0000 cyapa_raw_input: elimmminate write only k variable Sponsored by: Netflix --- 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,