Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/prep/prep Remove unnecessary line.



details:   https://anonhg.NetBSD.org/src/rev/f9e9a60a836a
branches:  trunk
changeset: 756896:f9e9a60a836a
user:      kiyohara <kiyohara%NetBSD.org@localhost>
date:      Sat Aug 07 06:16:22 2010 +0000

description:
Remove unnecessary line.
Variable openpic_base exists, if defined PIC_OPENPIC.

diffstat:

 sys/arch/prep/prep/machdep.c |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (38 lines):

diff -r 6a927da88f56 -r f9e9a60a836a sys/arch/prep/prep/machdep.c
--- a/sys/arch/prep/prep/machdep.c      Sat Aug 07 05:53:20 2010 +0000
+++ b/sys/arch/prep/prep/machdep.c      Sat Aug 07 06:16:22 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.70 2009/11/27 03:23:12 rmind Exp $       */
+/*     $NetBSD: machdep.c,v 1.71 2010/08/07 06:16:22 kiyohara Exp $    */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.70 2009/11/27 03:23:12 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.71 2010/08/07 06:16:22 kiyohara Exp $");
 
 #include "opt_compat_netbsd.h"
 #include "opt_openpic.h"
@@ -443,8 +443,6 @@
                if (ppc_dev[i].DeviceId.DevId == 0x244d000d) { /* MPIC */
                        foundmpic = prep_setup_openpic(&ppc_dev[i]);
                }
-#else
-               ;
 #endif
 
        }
@@ -467,7 +465,10 @@
 init_intr(void)
 {
         int i;
+
+#if defined(PIC_OPENPIC)
         openpic_base = 0;
+#endif
 
        pic_init();
         i = find_platform_quirk(res->VitalProductData.PrintableModel);



Home | Main Index | Thread Index | Old Index