]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
sh: remove extraneous ; on scif_sercon_putc wait loop
authorAndy Whitcroft <apw@shadowen.org>
Thu, 16 Aug 2007 16:25:34 +0000 (01:25 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 16 Aug 2007 16:25:34 +0000 (01:25 +0900)
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: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/early_printk.c

index 9833493d8867a097549182ba55aec047df4ee526..80b637c302035995ef6823d85b7186174d7060d6 100644 (file)
@@ -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')