git: 9b5041351a21 - stable/12 - atp: Remove unused variable.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 29 Jul 2022 18:48:46 UTC
The branch stable/12 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=9b5041351a2154ea44acfa8c2963c1e70bba3e75 commit 9b5041351a2154ea44acfa8c2963c1e70bba3e75 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-08 00:01:29 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2022-07-29 18:45:02 +0000 atp: Remove unused variable. (cherry picked from commit 197b9a2ef0037e02721fec27a707e34a4d06d2c6) --- sys/dev/usb/input/atp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/usb/input/atp.c b/sys/dev/usb/input/atp.c index 5d6c0dffd31c..89ce10d21de5 100644 --- a/sys/dev/usb/input/atp.c +++ b/sys/dev/usb/input/atp.c @@ -2016,7 +2016,6 @@ atp_reap_sibling_zombies(void *arg) u_int8_t n_horizontal_scrolls = 0; u_int8_t n_vertical_scrolls = 0; int horizontal_scroll = 0; - int vertical_scroll = 0; atp_stroke_t *strokep; atp_stroke_t *strokep_next; @@ -2036,7 +2035,6 @@ atp_reap_sibling_zombies(void *arg) horizontal_scroll += strokep->cum_movement_x; } else if (atp_is_vertical_scroll(strokep)) { n_vertical_scrolls++; - vertical_scroll += strokep->cum_movement_y; } }