diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2022-07-26 19:46:02 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2022-07-26 20:08:07 +0000 |
| commit | b621f3cf2d2c30880c49afe37598e0f550afb181 (patch) | |
| tree | bc92bb7da8afff7326bc1feed290cdfa25b5124b /sys/dev/usb/input | |
| parent | c45bc02560b0f632f8e085679512a588bfcb3384 (diff) | |
Diffstat (limited to 'sys/dev/usb/input')
| -rw-r--r-- | sys/dev/usb/input/atp.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/usb/input/atp.c b/sys/dev/usb/input/atp.c index 2f5487835c5e..206075694f92 100644 --- a/sys/dev/usb/input/atp.c +++ b/sys/dev/usb/input/atp.c @@ -2015,7 +2015,6 @@ atp_reap_sibling_zombies(void *arg) u_int8_t n_touches_reaped = 0; u_int8_t n_slides_reaped = 0; u_int8_t n_horizontal_scrolls = 0; - u_int8_t n_vertical_scrolls = 0; int horizontal_scroll = 0; atp_stroke_t *strokep; atp_stroke_t *strokep_next; @@ -2034,8 +2033,6 @@ atp_reap_sibling_zombies(void *arg) if (atp_is_horizontal_scroll(strokep)) { n_horizontal_scrolls++; horizontal_scroll += strokep->cum_movement_x; - } else if (atp_is_vertical_scroll(strokep)) { - n_vertical_scrolls++; } } |
