From: Tobias Herzog Date: Thu, 30 Mar 2017 20:15:13 +0000 (+0200) Subject: cdc-acm: remove unused element of struct acm X-Git-Tag: v4.12-rc1~97^2~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d30eed1cd2b17f6140ec443f22a8e32f99cd99c1;p=thirdparty%2Flinux.git 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 Acked-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/class/cdc-acm.h b/drivers/usb/class/cdc-acm.h index b519138364093..7a2b3deafc90a 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;