mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 09:44:18 +08:00
USB: serial: keyspan: Fixed space near open parenthesis.
Changes to conform with checkpatch.sh script. - space near open parenthesis '('. Removed 2 checkpatch.sh errors. Signed-off-by: Ben Minerds <puzzleduck@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
40adac8143
commit
ddc04ae77f
@ -557,7 +557,7 @@ static void usa28_instat_callback(struct urb *urb)
|
||||
p_priv->dcd_state = ((msg->dcd) ? 1 : 0);
|
||||
p_priv->ri_state = ((msg->ri) ? 1 : 0);
|
||||
|
||||
if( old_dcd_state != p_priv->dcd_state && old_dcd_state) {
|
||||
if (old_dcd_state != p_priv->dcd_state && old_dcd_state) {
|
||||
tty = tty_port_tty_get(&port->port);
|
||||
if (tty && !C_CLOCAL(tty))
|
||||
tty_hangup(tty);
|
||||
|
Loading…
Reference in New Issue
Block a user