USB: serial: cypress_m8: drop unused driver data flag
authorJohan Hovold <johan@kernel.org>
Sun, 21 Apr 2019 12:21:48 +0000 (14:21 +0200)
committerJohan Hovold <johan@kernel.org>
Fri, 26 Apr 2019 06:37:53 +0000 (08:37 +0200)
Drop the isthrottled flag which has never been used.

Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/cypress_m8.c

index ed51bc48eea65b3d59df5ae8ea168994059c913b..8a06e5ffe644201dcc5f43b9efb5d8336f9b265f 100644 (file)
@@ -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 */