Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1613448 > unrolled thread

[PATCH v3 4/4] cdc-acm: remove unused element of struct acm

Started byTobias Herzog <t-herzog@gmx.de>
First post2017-03-30 22:20 +0200
Last post2017-03-31 11:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v3 4/4] cdc-acm: remove unused element of struct acm Tobias Herzog <t-herzog@gmx.de> - 2017-03-30 22:20 +0200
    Re: [PATCH v3 4/4] cdc-acm: remove unused element of struct acm Oliver Neukum <oneukum@suse.com> - 2017-03-31 11:40 +0200

#1613448 — [PATCH v3 4/4] cdc-acm: remove unused element of struct acm

FromTobias Herzog <t-herzog@gmx.de>
Date2017-03-30 22:20 +0200
Subject[PATCH v3 4/4] cdc-acm: remove unused element of struct acm
Message-ID<tqOI2-3e5-15@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1613797

FromOliver Neukum <oneukum@suse.com>
Date2017-03-31 11:40 +0200
Message-ID<tr1cd-2Nd-15@gated-at.bofh.it>
In reply to#1613448
Am Donnerstag, den 30.03.2017, 22:15 +0200 schrieb Tobias Herzog:
> 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>
Acked-by: Oliver Neukum <oneukum@suse.com>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web