aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/class/cdc-acm.h
diff options
context:
space:
mode:
authorTobias Herzog <[email protected]>2017-03-30 20:15:13 +0000
committerGreg Kroah-Hartman <[email protected]>2017-04-01 09:05:03 +0000
commitd30eed1cd2b17f6140ec443f22a8e32f99cd99c1 (patch)
tree415ffbe47b012d81dffef4684030889c314ed4fc /drivers/usb/class/cdc-acm.h
parentcdc-acm: log message for serial state notification (diff)
downloadkernel-d30eed1cd2b17f6140ec443f22a8e32f99cd99c1.tar.gz
kernel-d30eed1cd2b17f6140ec443f22a8e32f99cd99c1.zip
cdc-acm: remove unused element of struct acm
write_used was introduced with commit 884b600f63dc ("[PATCH] USB: fix acm trouble with terminals") but never used since. Signed-off-by: Tobias Herzog <[email protected]> Acked-by: Oliver Neukum <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/class/cdc-acm.h')
-rw-r--r--drivers/usb/class/cdc-acm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/class/cdc-acm.h b/drivers/usb/class/cdc-acm.h
index b51913836409..7a2b3deafc90 100644
--- a/drivers/usb/class/cdc-acm.h
+++ b/drivers/usb/class/cdc-acm.h
@@ -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;