Commit d30eed1c authored by Tobias Herzog's avatar Tobias Herzog Committed by Greg Kroah-Hartman

cdc-acm: remove unused element of struct acm

write_used was introduced with commit 884b600f ("[PATCH] USB: fix acm
trouble with terminals") but never used since.
Signed-off-by: default avatarTobias Herzog <t-herzog@gmx.de>
Acked-by: default avatarOliver Neukum <oneukum@suse.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2d6dfd17
...@@ -101,7 +101,6 @@ struct acm { ...@@ -101,7 +101,6 @@ struct acm {
u8 *notification_buffer; /* to reassemble fragmented notifications */ u8 *notification_buffer; /* to reassemble fragmented notifications */
unsigned int nb_index; unsigned int nb_index;
unsigned int nb_size; unsigned int nb_size;
int write_used; /* number of non-empty write buffers */
int transmitting; int transmitting;
spinlock_t write_lock; spinlock_t write_lock;
struct mutex mutex; struct mutex mutex;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment