Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/macppc/dev Strip redundant parenthesis.



details:   https://anonhg.NetBSD.org/src/rev/cac378dd66d8
branches:  trunk
changeset: 788947:cac378dd66d8
user:      joerg <joerg%NetBSD.org@localhost>
date:      Tue Jul 30 15:31:49 2013 +0000

description:
Strip redundant parenthesis.

diffstat:

 sys/arch/macppc/dev/cuda.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 3697af40316c -r cac378dd66d8 sys/arch/macppc/dev/cuda.c
--- a/sys/arch/macppc/dev/cuda.c        Tue Jul 30 15:30:37 2013 +0000
+++ b/sys/arch/macppc/dev/cuda.c        Tue Jul 30 15:31:49 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cuda.c,v 1.17 2011/07/01 18:41:52 dyoung Exp $ */
+/*     $NetBSD: cuda.c,v 1.18 2013/07/30 15:31:49 joerg Exp $ */
 
 /*-
  * Copyright (c) 2006 Michael Lorenz
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cuda.c,v 1.17 2011/07/01 18:41:52 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cuda.c,v 1.18 2013/07/30 15:31:49 joerg Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -358,8 +358,8 @@
 
        s = splhigh();
 
-       if ((sc->sc_state == CUDA_IDLE) /*&& 
-           ((cuda_read_reg(sc, vBufB) & vPB3) == vPB3)*/) {
+       if (sc->sc_state == CUDA_IDLE /*&& 
+           (cuda_read_reg(sc, vBufB) & vPB3) == vPB3*/) {
                /* fine */
                DPRINTF("chip is idle\n");
        } else {



Home | Main Index | Thread Index | Old Index