git: a0860f9781eb - stable/13 - cyapa_raw_input: elimmminate write only k variable

From: Warner Losh <imp_at_FreeBSD.org>
Date: Sun, 02 Oct 2022 04:29:24 UTC
The branch stable/13 has been updated by imp:

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

commit a0860f9781eb532f0a3897eb0dedb17e4d63875d
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-07-08 17:53:30 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
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,