Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

USB: serial: drop unused iflag macro

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.

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>

-3
-3
include/linux/usb/serial.h
··· 23 23 /* The maximum number of ports one device can grab at once */ 24 24 #define MAX_NUM_PORTS 16 25 25 26 - /* parity check flag */ 27 - #define RELEVANT_IFLAG(iflag) (iflag & (IGNBRK|BRKINT|IGNPAR|PARMRK|INPCK)) 28 - 29 26 /* USB serial flags */ 30 27 #define USB_SERIAL_WRITE_BUSY 0 31 28 #define USB_SERIAL_THROTTLED 1