]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
USB: serial: drop unused iflag macro
authorJohan Hovold <johan@kernel.org>
Fri, 26 Apr 2019 06:01:32 +0000 (08:01 +0200)
committerJohan Hovold <johan@kernel.org>
Tue, 30 Apr 2019 08:26:32 +0000 (10:26 +0200)
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>
include/linux/usb/serial.h

index d8bdab8f3c2617ccd0fb162d0f107ae483da17eb..14cac4a1ae8f3bd25a93788a1d8cbb6a1cc06681 100644 (file)
@@ -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