cdc-acm: remove unused element of struct acm
authorTobias Herzog <t-herzog@gmx.de>
Thu, 30 Mar 2017 20:15:13 +0000 (22:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 1 Apr 2017 09:05:03 +0000 (11:05 +0200)
write_used was introduced with commit 884b600f63dc ("[PATCH] USB: fix acm
trouble with terminals") but never used since.

Signed-off-by: Tobias Herzog <t-herzog@gmx.de>
Acked-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/cdc-acm.h

index b519138364093943f3f0dc72fa36ab8b12194ec7..7a2b3deafc90abc3d524463d32b49172a7778695 100644 (file)
@@ -101,7 +101,6 @@ struct acm {
        u8 *notification_buffer;                        /* to reassemble fragmented notifications */
        unsigned int nb_index;
        unsigned int nb_size;
-       int write_used;                                 /* number of non-empty write buffers */
        int transmitting;
        spinlock_t write_lock;
        struct mutex mutex;