linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* USB: serial: drop unused iflag macro
@ 2019-04-26  6:01 Johan Hovold
  2019-04-26  6:01 ` [PATCH] " Johan Hovold
  2019-04-27  7:02 ` Greg KH
  0 siblings, 2 replies; 4+ messages in thread
From: Johan Hovold @ 2019-04-26  6:01 UTC (permalink / raw)
  To: linux-usb; +Cc: Johan Hovold

Drop the RELEVANT_IFLAG() macro which essentially hasn't been used for
over a decade except in some remnant debug printks that were recently
removed.

Signed-off-by: Johan Hovold <johan@kernel.org>
---
 include/linux/usb/serial.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/include/linux/usb/serial.h b/include/linux/usb/serial.h
index 9d378826248b..1b631ea476ee 100644
--- a/include/linux/usb/serial.h
+++ b/include/linux/usb/serial.h
@@ -23,9 +23,6 @@
 /* The maximum number of ports one device can grab at once */
 #define MAX_NUM_PORTS		16
 
-/* parity check flag */
-#define RELEVANT_IFLAG(iflag)	(iflag & (IGNBRK|BRKINT|IGNPAR|PARMRK|INPCK))
-
 /* USB serial flags */
 #define USB_SERIAL_WRITE_BUSY	0
 #define USB_SERIAL_THROTTLED	1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-04-27  7:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-26  6:01 USB: serial: drop unused iflag macro Johan Hovold
2019-04-26  6:01 ` [PATCH] " Johan Hovold
2019-04-27  7:02 ` Greg KH
2019-04-27  7:02   ` [PATCH] " Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).