[PATCH 05/36] usb: serial: ti_usb_3410_5052: Remove unused data structures

From: Mathieu OTHACEHE
Date: Thu May 12 2016 - 05:06:20 EST


ti_read_data_request, ti_read_data_bytes and ti_interrupt are unused.

Signed-off-by: Mathieu OTHACEHE <m.othacehe@xxxxxxxxx>
---
drivers/usb/serial/ti_usb_3410_5052.c | 21 ---------------------
1 file changed, 21 deletions(-)

diff --git a/drivers/usb/serial/ti_usb_3410_5052.c b/drivers/usb/serial/ti_usb_3410_5052.c
index 2fc3ea1..af4e145 100644
--- a/drivers/usb/serial/ti_usb_3410_5052.c
+++ b/drivers/usb/serial/ti_usb_3410_5052.c
@@ -226,27 +226,6 @@ struct ti_write_data_bytes {
__u8 bData[0];
} __packed;

-struct ti_read_data_request {
- __u8 bAddrType;
- __u8 bDataType;
- __u8 bDataCounter;
- __be16 wBaseAddrHi;
- __be16 wBaseAddrLo;
-} __packed;
-
-struct ti_read_data_bytes {
- __u8 bCmdCode;
- __u8 bModuleId;
- __u8 bErrorCode;
- __u8 bData[0];
-} __packed;
-
-/* Interrupt struct */
-struct ti_interrupt {
- __u8 bICode;
- __u8 bIInfo;
-} __packed;
-
/* Interrupt codes */
static inline int ti_get_port_from_code(unsigned char code)
{
--
2.8.2