diff options
Diffstat (limited to 'include/linux/usb/serial.h')
-rw-r--r-- | include/linux/usb/serial.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/linux/usb/serial.h b/include/linux/usb/serial.h index 1c19f77ed541..14cac4a1ae8f 100644 --- a/include/linux/usb/serial.h +++ b/include/linux/usb/serial.h | |||
@@ -23,11 +23,9 @@ | |||
23 | /* The maximum number of ports one device can grab at once */ | 23 | /* The maximum number of ports one device can grab at once */ |
24 | #define MAX_NUM_PORTS 16 | 24 | #define MAX_NUM_PORTS 16 |
25 | 25 | ||
26 | /* parity check flag */ | ||
27 | #define RELEVANT_IFLAG(iflag) (iflag & (IGNBRK|BRKINT|IGNPAR|PARMRK|INPCK)) | ||
28 | |||
29 | /* USB serial flags */ | 26 | /* USB serial flags */ |
30 | #define USB_SERIAL_WRITE_BUSY 0 | 27 | #define USB_SERIAL_WRITE_BUSY 0 |
28 | #define USB_SERIAL_THROTTLED 1 | ||
31 | 29 | ||
32 | /** | 30 | /** |
33 | * usb_serial_port: structure for the specific ports of a device. | 31 | * usb_serial_port: structure for the specific ports of a device. |
@@ -67,8 +65,6 @@ | |||
67 | * @flags: usb serial port flags | 65 | * @flags: usb serial port flags |
68 | * @write_wait: a wait_queue_head_t used by the port. | 66 | * @write_wait: a wait_queue_head_t used by the port. |
69 | * @work: work queue entry for the line discipline waking up. | 67 | * @work: work queue entry for the line discipline waking up. |
70 | * @throttled: nonzero if the read urb is inactive to throttle the device | ||
71 | * @throttle_req: nonzero if the tty wants to throttle us | ||
72 | * @dev: pointer to the serial device | 68 | * @dev: pointer to the serial device |
73 | * | 69 | * |
74 | * This structure is used by the usb-serial core and drivers for the specific | 70 | * This structure is used by the usb-serial core and drivers for the specific |
@@ -115,8 +111,6 @@ struct usb_serial_port { | |||
115 | unsigned long flags; | 111 | unsigned long flags; |
116 | wait_queue_head_t write_wait; | 112 | wait_queue_head_t write_wait; |
117 | struct work_struct work; | 113 | struct work_struct work; |
118 | char throttled; | ||
119 | char throttle_req; | ||
120 | unsigned long sysrq; /* sysrq timeout */ | 114 | unsigned long sysrq; /* sysrq timeout */ |
121 | struct device dev; | 115 | struct device dev; |
122 | }; | 116 | }; |