diff options
author | Konrad Zapalowicz <bergo.torino@gmail.com> | 2014-11-09 04:22:16 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-26 04:06:38 +0300 |
commit | 333f4eb1ba46b2d75fb3dc46ebed13aa1d0c9639 (patch) | |
tree | afd6a128ac83b03724cc220303df81806e2e981b /drivers/tty/serial/jsm/jsm_tty.c | |
parent | f53297fb99c8d2381a94cbaacc3e81c0c5db4cfd (diff) | |
download | linux-333f4eb1ba46b2d75fb3dc46ebed13aa1d0c9639.tar.xz |
serial: jsm: Remove unnecessary parameter from clear_break()
The 'force' parameter to the {cls,neo}_send_break() function has been
removed because it has not been used. The client to this API (the tty
code) always called this function with only one value.
Signed-off-by: Konrad Zapalowicz <bergo.torino@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/jsm/jsm_tty.c')
-rw-r--r-- | drivers/tty/serial/jsm/jsm_tty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/jsm/jsm_tty.c b/drivers/tty/serial/jsm/jsm_tty.c index c60e4542c050..524e86ab3cae 100644 --- a/drivers/tty/serial/jsm/jsm_tty.c +++ b/drivers/tty/serial/jsm/jsm_tty.c @@ -188,7 +188,7 @@ static void jsm_tty_break(struct uart_port *port, int break_state) if (break_state == -1) channel->ch_bd->bd_ops->send_break(channel); else - channel->ch_bd->bd_ops->clear_break(channel, 0); + channel->ch_bd->bd_ops->clear_break(channel); spin_unlock_irqrestore(&port->lock, lock_flags); } |