Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips/alchemy Remove some errant semicolons.



details:   https://anonhg.NetBSD.org/src/rev/168ff5cd9524
branches:  trunk
changeset: 574239:168ff5cd9524
user:      simonb <simonb%NetBSD.org@localhost>
date:      Fri Feb 25 07:18:40 2005 +0000

description:
Remove some errant semicolons.

diffstat:

 sys/arch/mips/alchemy/au_timer.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 87ba55fcdb57 -r 168ff5cd9524 sys/arch/mips/alchemy/au_timer.c
--- a/sys/arch/mips/alchemy/au_timer.c  Fri Feb 25 07:09:58 2005 +0000
+++ b/sys/arch/mips/alchemy/au_timer.c  Fri Feb 25 07:18:40 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: au_timer.c,v 1.2 2003/07/15 02:43:34 lukem Exp $ */
+/* $NetBSD: au_timer.c,v 1.3 2005/02/25 07:18:40 simonb Exp $ */
 
 /*
  * Copyright 2002 Wasabi Systems, Inc.
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: au_timer.c,v 1.2 2003/07/15 02:43:34 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: au_timer.c,v 1.3 2005/02/25 07:18:40 simonb Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -75,7 +75,7 @@
 
        /* Enable the programmable counter 1. */
        ctl = bus_space_read_4(st, sh, PC_COUNTER_CONTROL);
-       if ((ctl & (CC_EO | CC_EN1)) != (CC_EO | CC_EN1));
+       if ((ctl & (CC_EO | CC_EN1)) != (CC_EO | CC_EN1))
                SET_PC_REG(PC_COUNTER_CONTROL, 0, ctl | CC_EO | CC_EN1);
 
        /* Initialize for 16Hz. */
@@ -104,7 +104,7 @@
        }
 
        /* Disable the counter (if it wasn't enabled already). */
-       if ((ctl & (CC_EO | CC_EN1)) != (CC_EO | CC_EN1));
+       if ((ctl & (CC_EO | CC_EN1)) != (CC_EO | CC_EN1))
                SET_PC_REG(PC_COUNTER_CONTROL, 0, ctl);
 
        /* Compute the number of cycles per second. */



Home | Main Index | Thread Index | Old Index