]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
serial: sh-sci: Remove unused STEPFN() macro
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 7 Jun 2021 14:43:45 +0000 (16:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jun 2021 12:39:13 +0000 (14:39 +0200)
The last user of the STEPFN() macro was removed in commit
d5cb1319a91d4f13 ("serial: sh-sci: Remove manual break debouncing").

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/970387d104dea5bb7ea674bb89229641467e629b.1623076891.git.geert+renesas@glider.be
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sh-sci.c

index afdd39da82f794d1aacb25246358f8fab3053f8b..df4f70716ba21e31c1b439741dafa50416af2a93 100644 (file)
@@ -841,9 +841,6 @@ static void sci_transmit_chars(struct uart_port *port)
 
 }
 
-/* On SH3, SCIF may read end-of-break as a space->mark char */
-#define STEPFN(c)  ({int __c = (c); (((__c-1)|(__c)) == -1); })
-
 static void sci_receive_chars(struct uart_port *port)
 {
        struct tty_port *tport = &port->state->port;