Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1603839
| From | Tobias Herzog <t-herzog@gmx.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 4/4] cdc-acm: remove unused element of struct acm |
| Date | 2017-03-18 20:00 +0100 |
| Message-ID | <tmrK2-27E-7@gated-at.bofh.it> (permalink) |
| References | <tl15f-5mY-9@gated-at.bofh.it> <tmrK1-27E-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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>
---
drivers/usb/class/cdc-acm.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/usb/class/cdc-acm.h b/drivers/usb/class/cdc-acm.h
index b519138..7a2b3de 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;
--
2.1.4
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2 0/4] cdc-acm: reassemble fragmented notifications Tobias Herzog <t-herzog@gmx.de> - 2017-03-18 20:00 +0100
[PATCH v2 4/4] cdc-acm: remove unused element of struct acm Tobias Herzog <t-herzog@gmx.de> - 2017-03-18 20:00 +0100
[PATCH v2 2/4] cdc-acm: fix possible invalid access when processing notification Tobias Herzog <t-herzog@gmx.de> - 2017-03-18 20:00 +0100
Re: [PATCH v2 2/4] cdc-acm: fix possible invalid access when processing notification Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2017-03-19 11:00 +0100
Re: [PATCH v2 2/4] cdc-acm: fix possible invalid access when processing notification Oliver Neukum <oneukum@suse.com> - 2017-03-20 16:10 +0100
[PATCH v2 1/4] cdc-acm: reassemble fragmented notifications Tobias Herzog <t-herzog@gmx.de> - 2017-03-18 20:10 +0100
Re: [PATCH v2 1/4] cdc-acm: reassemble fragmented notifications Oliver Neukum <oneukum@suse.com> - 2017-03-20 16:10 +0100
Re: [PATCH v2 1/4] cdc-acm: reassemble fragmented notifications Tobias Herzog <t-herzog@gmx.de> - 2017-03-24 23:00 +0100
csiph-web