summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2019-04-21 14:21:48 +0200
committerJohan Hovold <johan@kernel.org>2019-04-26 08:37:53 +0200
commitda7d26a0356ce0b23d0ec273c934507317854f34 (patch)
tree1ec404b44d7fef6a940f07d2390df47666ccf53d /drivers/usb/serial
parent6eb42a0f8c5fe89d0dad2202c942121468d73708 (diff)
downloadlinux-da7d26a0356ce0b23d0ec273c934507317854f34.tar.bz2
USB: serial: cypress_m8: drop unused driver data flag
Drop the isthrottled flag which has never been used. Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/usb/serial')
-rw-r--r--drivers/usb/serial/cypress_m8.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/serial/cypress_m8.c b/drivers/usb/serial/cypress_m8.c
index ed51bc48eea6..8a06e5ffe644 100644
--- a/drivers/usb/serial/cypress_m8.c
+++ b/drivers/usb/serial/cypress_m8.c
@@ -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 */