mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
serial: sh-sci: Remove unused STEPFN() macro
The last user of the STEPFN() macro was removed in commit
d5cb1319a9
("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>
This commit is contained in:
parent
2877389f59
commit
e901000aa6
1 changed files with 0 additions and 3 deletions
|
@ -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)
|
static void sci_receive_chars(struct uart_port *port)
|
||||||
{
|
{
|
||||||
struct tty_port *tport = &port->state->port;
|
struct tty_port *tport = &port->state->port;
|
||||||
|
|
Loading…
Reference in a new issue