* 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
* [PATCH] USB: serial: drop unused iflag macro
2019-04-26 6:01 USB: serial: drop unused iflag macro Johan Hovold
@ 2019-04-26 6:01 ` Johan Hovold
2019-04-27 7:02 ` Greg KH
1 sibling, 0 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
--
2.21.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* USB: serial: drop unused iflag macro
@ 2019-04-27 7:02 ` Greg KH
2019-04-27 7:02 ` [PATCH] " Greg KH
0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2019-04-27 7:02 UTC (permalink / raw)
To: Johan Hovold; +Cc: linux-usb
On Fri, Apr 26, 2019 at 08:01:32AM +0200, Johan Hovold wrote:
> 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
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] USB: serial: drop unused iflag macro
2019-04-27 7:02 ` Greg KH
@ 2019-04-27 7:02 ` Greg KH
0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2019-04-27 7:02 UTC (permalink / raw)
To: Johan Hovold; +Cc: linux-usb
On Fri, Apr 26, 2019 at 08:01:32AM +0200, Johan Hovold wrote:
> 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
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
^ permalink raw reply [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).