Skip to content

Commit 2285c49

Browse files
Dan Carpentergregkh
authored andcommitted
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: Jiri Slaby <[email protected]> Signed-off-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/20210825072435.GB13013@kili Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 322003b commit 2285c49

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

drivers/tty/mxser.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1039,12 +1039,12 @@ static int mxser_get_serial_info(struct tty_struct *tty,
10391039
if (closing_wait != ASYNC_CLOSING_WAIT_NONE)
10401040
closing_wait = jiffies_to_msecs(closing_wait) / 10;
10411041

1042-
ss->type = info->type,
1043-
ss->line = tty->index,
1044-
ss->port = info->ioaddr,
1045-
ss->irq = info->board->irq,
1046-
ss->flags = info->port.flags,
1047-
ss->baud_base = MXSER_BAUD_BASE,
1042+
ss->type = info->type;
1043+
ss->line = tty->index;
1044+
ss->port = info->ioaddr;
1045+
ss->irq = info->board->irq;
1046+
ss->flags = info->port.flags;
1047+
ss->baud_base = MXSER_BAUD_BASE;
10481048
ss->close_delay = close_delay;
10491049
ss->closing_wait = closing_wait;
10501050
ss->custom_divisor = MXSER_CUSTOM_DIVISOR,

0 commit comments

Comments
 (0)