Re: [PATCH] USB: serial: quatech2: remove unused qt2_setdevice function

From: Johan Hovold
Date: Wed Apr 05 2023 - 07:39:10 EST


On Tue, Mar 21, 2023 at 02:12:55PM -0400, Tom Rix wrote:
> 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@xxxxxxxxxx>

Now applied, thanks.

Johan