USB: serial: quatech2: remove unused qt2_setdevice function
authorTom Rix <trix@redhat.com>
Tue, 21 Mar 2023 18:12:55 +0000 (14:12 -0400)
committerJohan Hovold <johan@kernel.org>
Wed, 5 Apr 2023 11:23:56 +0000 (13:23 +0200)
commitad813605f77553f5e73cd23913fa7591b0d794f6
treeb90fae5b345b3a163446ef5d71d675a34d325a85
parent197b6b60ae7bc51dd0814953c562833143b292aa
USB: serial: quatech2: remove unused qt2_setdevice function

clang with W=1 reports
drivers/usb/serial/quatech2.c:179:19: error: unused function
  'qt2_setdevice' [-Werror,-Wunused-function]
static inline int qt2_setdevice(struct usb_device *dev, u8 *data)
                  ^
This function is not used, so remove it.

Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/quatech2.c