Module Name:    src
Committed By:   kiyohara
Date:           Wed May 12 18:22:36 UTC 2010

Modified Files:
        src/sys/arch/hpcsh/dev/hd64461: hd64461uart.c

Log Message:
Style.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/hpcsh/dev/hd64461/hd64461uart.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/hpcsh/dev/hd64461/hd64461uart.c
diff -u src/sys/arch/hpcsh/dev/hd64461/hd64461uart.c:1.24 src/sys/arch/hpcsh/dev/hd64461/hd64461uart.c:1.25
--- src/sys/arch/hpcsh/dev/hd64461/hd64461uart.c:1.24	Wed May 12 18:16:53 2010
+++ src/sys/arch/hpcsh/dev/hd64461/hd64461uart.c	Wed May 12 18:22:36 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: hd64461uart.c,v 1.24 2010/05/12 18:16:53 kiyohara Exp $	*/
+/*	$NetBSD: hd64461uart.c,v 1.25 2010/05/12 18:22:36 kiyohara Exp $	*/
 
 /*-
  * Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hd64461uart.c,v 1.24 2010/05/12 18:16:53 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hd64461uart.c,v 1.25 2010/05/12 18:22:36 kiyohara Exp $");
 
 #include "opt_kgdb.h"
 
@@ -124,20 +124,20 @@
 {
 
 	if (strcmp(kgdb_devname, "hd64461uart") != 0)
-		return (1);
+		return 1;
 
 	if (hd64461uart_chip.console)
-		return (1);	/* can't share with console */
+		return 1;	/* can't share with console */
 
 	hd64461uart_init();
 
 	if (com_kgdb_attach(hd64461uart_chip.io_tag, 0x0, kgdb_rate,
 	    COM_FREQ, COM_TYPE_NORMAL, CONMODE) != 0) {
 		printf("%s: KGDB console open failed.\n", __func__);
-		return (1);
+		return 1;
 	}
 
-	return (0);
+	return 0;
 }
 #endif /* KGDB */
 
@@ -146,7 +146,7 @@
 {
 	struct hd64461_attach_args *ha = aux;
 
-	return (ha->ha_module_id == HD64461_MODULE_UART);
+	return ha->ha_module_id == HD64461_MODULE_UART;
 }
 
 STATIC void

Reply via email to