]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
USB: serial: spcp8x5: remove unused struct 'spcp8x5_usb_ctrl_arg'
authorDr. David Alan Gilbert <linux@treblig.org>
Wed, 29 May 2024 23:47:22 +0000 (00:47 +0100)
committerJohan Hovold <johan@kernel.org>
Fri, 5 Jul 2024 10:59:29 +0000 (12:59 +0200)
'spcp8x5_usb_ctrl_arg' has been unused since the original
commit 619a6f1d1423 ("USB: add usb-serial spcp8x5 driver").

Remove it.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/spcp8x5.c

index 09a972a838ee4c18b85f10008af2a08ab69342fe..6b294bf8bc435fd539a147b934297d45cd7c6adb 100644 (file)
@@ -49,16 +49,6 @@ static const struct usb_device_id id_table[] = {
 };
 MODULE_DEVICE_TABLE(usb, id_table);
 
-struct spcp8x5_usb_ctrl_arg {
-       u8      type;
-       u8      cmd;
-       u8      cmd_type;
-       u16     value;
-       u16     index;
-       u16     length;
-};
-
-
 /* spcp8x5 spec register define */
 #define MCR_CONTROL_LINE_RTS           0x02
 #define MCR_CONTROL_LINE_DTR           0x01