tty: moxa: use semi-colons instead of commas
This code works but it's cleaner to use a semi-colon to end a statement instead of a comma. Acked-by: Jiri Slaby <jirislaby@kernel.org> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Link: https://lore.kernel.org/r/20210825072405.GA13013@kili Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
88c1d2478e
commit
322003b907
|
@ -2034,10 +2034,10 @@ static int moxa_get_serial_info(struct tty_struct *tty,
|
|||
if (!info)
|
||||
return -ENODEV;
|
||||
mutex_lock(&info->port.mutex);
|
||||
ss->type = info->type,
|
||||
ss->line = info->port.tty->index,
|
||||
ss->flags = info->port.flags,
|
||||
ss->baud_base = 921600,
|
||||
ss->type = info->type;
|
||||
ss->line = info->port.tty->index;
|
||||
ss->flags = info->port.flags;
|
||||
ss->baud_base = 921600;
|
||||
ss->close_delay = jiffies_to_msecs(info->port.close_delay) / 10;
|
||||
mutex_unlock(&info->port.mutex);
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue