git: 3ca3bb576b48 - main - cyapa_raw_input: elimmminate write only k variable
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 05 Apr 2022 04:32:11 UTC
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,