PERFORCE change 100085 for review

Warner Losh imp at FreeBSD.org
Mon Jun 26 21:08:36 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=100085

Change 100085 by imp at imp_lighthouse on 2006/06/26 20:32:48

	Style(9) window dressing.

Affected files ...

.. //depot/projects/arm/src/sys/arm/at91/uart_dev_at91usart.c#26 edit

Differences ...

==== //depot/projects/arm/src/sys/arm/at91/uart_dev_at91usart.c#26 (text+ko) ====

@@ -240,8 +240,8 @@
 at91_usart_putc(struct uart_bas *bas, int c)
 {
 
-	while (!(RD4(bas, USART_CSR) & 
-	    USART_CSR_TXRDY));
+	while (!(RD4(bas, USART_CSR) & USART_CSR_TXRDY))
+		continue;
 	WR4(bas, USART_THR, c);
 }
 
@@ -266,7 +266,7 @@
 	int c;
 
 	while (!(RD4(bas, USART_CSR) & USART_CSR_RXRDY)) 
-		;
+		continue;
 	c = RD4(bas, USART_RHR);
 	c &= 0xff;
 	return (c);


More information about the p4-projects mailing list