USB: serial: quatech2: remove unused qt2_setdevice function
authorTom Rix <trix@redhat.com>
Tue, 21 Mar 2023 18:12:55 +0000 (14:12 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Mar 2023 16:35:00 +0000 (17:35 +0100)
commit8c1b63b3c2358024181674e0ada901d50b919d3e
treee4ce48fcb0795c930c56e610cbdc4d349336ec4d
parent766eae980611f5377ee54518f58da11b4d866f59
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>
Link: https://lore.kernel.org/r/20230321181255.1825963-1-trix@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/quatech2.c