cdc-acm: remove unused element of struct acm

write_used was introduced with commit 884b600f63 ("[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>
This commit is contained in:
Tobias Herzog 2017-03-30 22:15:13 +02:00 committed by Greg Kroah-Hartman
parent 2d6dfd17ae
commit d30eed1cd2
1 changed files with 0 additions and 1 deletions

View 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;