diff options
author | Johan Hovold <johan@kernel.org> | 2019-04-26 09:01:32 +0300 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2019-04-30 11:26:32 +0300 |
commit | 80ed53707bb3ec92c331ca33f45c113338ee434d (patch) | |
tree | 7f32c1d874f6709f093a7c4c10412f342f0340ff /include/linux/usb | |
parent | 5b67b10a5229c26931b3b5a7d07e1095ba58acb4 (diff) | |
download | linux-80ed53707bb3ec92c331ca33f45c113338ee434d.tar.xz |
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>
Diffstat (limited to 'include/linux/usb')
-rw-r--r-- | include/linux/usb/serial.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/usb/serial.h b/include/linux/usb/serial.h index d8bdab8f3c26..14cac4a1ae8f 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 |