Skip to contentSkip to conversation

tty: moxa: convert comma to semicolon

PATCH New Zheng Yongjun 1 participant 1 message Dec 14, 2020 TTY layer and serial drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tty: moxa: convert comma to semicolon

Replace a comma between expression statements by a semicolon.

---
 drivers/tty/moxa.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/tty/moxa.c +4 -4
index 9f13f7d49dd7..a9b5bfb613d1 100644
@@ -2036,10 +2036,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 = info->port.close_delay;
 	mutex_unlock(&info->port.mutex);
 	return 0;
Signature · 1 line
2.22.0