Commit 2285c496 authored by Dan Carpenter's avatar Dan Carpenter Committed by Greg Kroah-Hartman
Browse files

mxser: use semi-colons instead of commas



This code works, but it's cleaner to use semi-colons at the end of
a statement instead of a comma.

Acked-by: default avatarJiri Slaby <jirislaby@kernel.org>
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20210825072435.GB13013@kili


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 322003b9
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -1039,12 +1039,12 @@ static int mxser_get_serial_info(struct tty_struct *tty,
	if (closing_wait != ASYNC_CLOSING_WAIT_NONE)
		closing_wait = jiffies_to_msecs(closing_wait) / 10;

	ss->type = info->type,
	ss->line = tty->index,
	ss->port = info->ioaddr,
	ss->irq = info->board->irq,
	ss->flags = info->port.flags,
	ss->baud_base = MXSER_BAUD_BASE,
	ss->type = info->type;
	ss->line = tty->index;
	ss->port = info->ioaddr;
	ss->irq = info->board->irq;
	ss->flags = info->port.flags;
	ss->baud_base = MXSER_BAUD_BASE;
	ss->close_delay = close_delay;
	ss->closing_wait = closing_wait;
	ss->custom_divisor = MXSER_CUSTOM_DIVISOR,