HomeFreeBSD

Fix unused variable warning in usb's atp.c

Description

Fix unused variable warning in usb's atp.c

With clang 15, the following -Werror warning is produced:

sys/dev/usb/input/atp.c:2018:11: error: variable 'n_vertical_scrolls' set but not used [-Werror,-Wunused-but-set-variable]
        u_int8_t n_vertical_scrolls = 0;
                 ^

The 'n_vertical_scrolls' variable is no longer used after 197b9a2ef003,
so remove it.

MFC after: 3 days

(cherry picked from commit b621f3cf2d2c30880c49afe37598e0f550afb181)

Details

Provenance
dimAuthored on Jul 26 2022, 7:46 PM
Parents
rG9b5041351a21: atp: Remove unused variable.
Branches
Unknown
Tags
Unknown