Skip to contentSkip to conversation

USB: serial: cypress_m8: drop unused driver data flag

PATCH In review Johan Hovold 1 participant 1 message Apr 21, 2019

Subsystems (2)
lore
Share & tools
lore

Johan Hovold

author maintainer
#0 lore raw

PATCH 3/9 USB: serial: cypress_m8: drop unused driver data flag

Drop the isthrottled flag which has never been used.

---
 drivers/usb/serial/cypress_m8.c | 1 -
 1 file changed, 1 deletion(-)
drivers/usb/serial/cypress_m8.c +0 -1
index ed51bc48eea6..8a06e5ffe644 100644
@@ -107,7 +107,6 @@ struct cypress_private {
 	int get_cfg_unsafe;		   /* If true, the CYPRESS_GET_CONFIG is unsafe */
 	int baud_rate;			   /* stores current baud rate in
 					      integer form */
-	int isthrottled;		   /* if throttled, discard reads */
 	char prev_status;		   /* used for TIOCMIWAIT */
 	/* we pass a pointer to this as the argument sent to
 	   cypress_set_termios old_termios */