Skip to contentSkip to conversation

USB: serial: drop unused iflag macro

PATCH Johan Hovold 1 participant 1 message Apr 26, 2019

Subsystems (2)
lore
Share & tools
lore

Johan Hovold

author maintainer
#0 lore raw

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.

---
 include/linux/usb/serial.h | 3 ---
 1 file changed, 3 deletions(-)
include/linux/usb/serial.h +0 -3
index 9d378826248b..1b631ea476ee 100644
@@ -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