git: 822f2c159054 - stable/13 - atp: Remove unused variable.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 29 Jul 2022 18:47:43 UTC
The branch stable/13 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=822f2c1590541fb64bec399d61124402d5b4dc03 commit 822f2c1590541fb64bec399d61124402d5b4dc03 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:31: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 585afbaf1a1b..b76653cc303b 100644 --- a/sys/dev/usb/input/atp.c +++ b/sys/dev/usb/input/atp.c @@ -2017,7 +2017,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; @@ -2037,7 +2036,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; } }