Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hpcarm/hpcarm Remove noneed platid_match() in consi...



details:   https://anonhg.NetBSD.org/src/rev/a439a6997b66
branches:  trunk
changeset: 766478:a439a6997b66
user:      nonaka <nonaka%NetBSD.org@localhost>
date:      Thu Jun 23 12:40:32 2011 +0000

description:
Remove noneed platid_match() in consinit().

diffstat:

 sys/arch/hpcarm/hpcarm/wzero3_machdep.c |  17 +++++------------
 1 files changed, 5 insertions(+), 12 deletions(-)

diffs (38 lines):

diff -r 3a2cf374cb73 -r a439a6997b66 sys/arch/hpcarm/hpcarm/wzero3_machdep.c
--- a/sys/arch/hpcarm/hpcarm/wzero3_machdep.c   Thu Jun 23 12:38:02 2011 +0000
+++ b/sys/arch/hpcarm/hpcarm/wzero3_machdep.c   Thu Jun 23 12:40:32 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wzero3_machdep.c,v 1.1 2011/06/21 15:23:57 kiyohara Exp $      */
+/*     $NetBSD: wzero3_machdep.c,v 1.2 2011/06/23 12:40:32 nonaka Exp $        */
 
 /*
  * Copyright (c) 1994-1998 Mark Brinicombe.
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wzero3_machdep.c,v 1.1 2011/06/21 15:23:57 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wzero3_machdep.c,v 1.2 2011/06/23 12:40:32 nonaka Exp $");
 
 #include <sys/systm.h>
 #include <sys/param.h>
@@ -231,16 +231,9 @@
        } else {
 #if (NLCD > 0)
 #if NWZERO3LCD > 0
-               if (platid_match(&platid,&platid_mask_MACH_SHARP_WZERO3_WS003SH)
-                || platid_match(&platid,&platid_mask_MACH_SHARP_WZERO3_WS004SH)
-                || platid_match(&platid,&platid_mask_MACH_SHARP_WZERO3_WS007SH)
-                || platid_match(&platid,&platid_mask_MACH_SHARP_WZERO3_WS011SH)
-                || platid_match(&platid,&platid_mask_MACH_SHARP_WZERO3_WS020SH)) {
-                       extern void wzero3lcd_cnattach(void);
-
-                       wzero3lcd_cnattach();
-                       return;
-               }
+               extern void wzero3lcd_cnattach(void);
+               wzero3lcd_cnattach();
+               return;
 #endif
 #endif
        }



Home | Main Index | Thread Index | Old Index