Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Fix build error on i386. These were only needed...



details:   https://anonhg.NetBSD.org/src/rev/a0a1eed83da1
branches:  trunk
changeset: 451629:a0a1eed83da1
user:      isaki <isaki%NetBSD.org@localhost>
date:      Wed May 29 13:12:59 2019 +0000

description:
Fix build error on i386.  These were only needed during development.
Reported by msaitoh@.

diffstat:

 sys/dev/pci/emuxki.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r a24b3d994e59 -r a0a1eed83da1 sys/dev/pci/emuxki.c
--- a/sys/dev/pci/emuxki.c      Wed May 29 11:27:34 2019 +0000
+++ b/sys/dev/pci/emuxki.c      Wed May 29 13:12:59 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: emuxki.c,v 1.68 2019/05/08 13:40:18 isaki Exp $        */
+/*     $NetBSD: emuxki.c,v 1.69 2019/05/29 13:12:59 isaki Exp $        */
 
 /*-
  * Copyright (c) 2001, 2007 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: emuxki.c,v 1.68 2019/05/08 13:40:18 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: emuxki.c,v 1.69 2019/05/29 13:12:59 isaki Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -337,9 +337,6 @@
                goto destroy;
        }
 
-       DPRINTF("map ds=%p\n", (char*)mem->map->dm_segs[0].ds_addr);
-       DPRINTF("segs ds=%p\n", (char*)mem->segs[0].ds_addr);
-
        return mem;
 
 destroy:



Home | Main Index | Thread Index | Old Index