Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 96989d9d authored by Andy Whitcroft's avatar Andy Whitcroft Committed by Paul Mundt
Browse files

sh: remove extraneous ; on scif_sercon_putc wait loop



It seems we have gained an extraneous trailing ';' on one of the
wait loops in scif_sercon_putc().  Although this is completely
benign as the apparent payload is also the empty statement, it
invites error in the future.  Clean it up now.

Signed-off-by: default avatarAndy Whitcroft <apw@shadowen.org>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 32239264
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -76,7 +76,7 @@ static void scif_sercon_putc(int c)
	sci_in(&scif_port, SCxSR);
	sci_out(&scif_port, SCxSR, 0xf3 & ~(0x20 | 0x40));

	while ((sci_in(&scif_port, SCxSR) & 0x40) == 0);
	while ((sci_in(&scif_port, SCxSR) & 0x40) == 0)
		;

	if (c == '\n')