Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Apr 2022 04:32:11 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 3ca3bb576b48 - main - cyapa_raw_input: elimmminate write only k variable
Message-ID:  <202204050432.2354WBn7008682@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=3ca3bb576b48667a694b1eab229870697586bb5d

commit 3ca3bb576b48667a694b1eab229870697586bb5d
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-04-05 00:02:52 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204050432.2354WBn7008682>