Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/xen/x86 Remove dead code.



details:   https://anonhg.NetBSD.org/src/rev/e6c0bf789193
branches:  trunk
changeset: 834080:e6c0bf789193
user:      maxv <maxv%NetBSD.org@localhost>
date:      Thu Jul 26 15:06:14 2018 +0000

description:
Remove dead code.

diffstat:

 sys/arch/xen/x86/xenfunc.c |  12 ++----------
 1 files changed, 2 insertions(+), 10 deletions(-)

diffs (42 lines):

diff -r dae050a832c4 -r e6c0bf789193 sys/arch/xen/x86/xenfunc.c
--- a/sys/arch/xen/x86/xenfunc.c        Thu Jul 26 09:29:08 2018 +0000
+++ b/sys/arch/xen/x86/xenfunc.c        Thu Jul 26 15:06:14 2018 +0000
@@ -1,7 +1,6 @@
-/*     $NetBSD: xenfunc.c,v 1.18 2018/06/24 20:28:57 jdolecek Exp $    */
+/*     $NetBSD: xenfunc.c,v 1.19 2018/07/26 15:06:14 maxv Exp $        */
 
 /*
- *
  * Copyright (c) 2004 Christian Limpach.
  * All rights reserved.
  *
@@ -27,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xenfunc.c,v 1.18 2018/06/24 20:28:57 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xenfunc.c,v 1.19 2018/07/26 15:06:14 maxv Exp $");
 
 #include <sys/param.h>
 
@@ -42,12 +41,6 @@
 #include <xen/xenpmap.h>
 #include <machine/pte.h>
 
-#ifdef XENDEBUG_LOW
-#define        __PRINTK(x) printk x
-#else
-#define        __PRINTK(x)
-#endif
-
 void xen_set_ldt(vaddr_t, uint32_t);
 
 void 
@@ -68,7 +61,6 @@
 
        if (ci->ci_curldt == sel)
                return;
-       /* __PRINTK(("ldt %x\n", IDXSELN(sel))); */
        if (sel == GSEL(GLDT_SEL, SEL_KPL))
                xen_set_ldt((vaddr_t)ldtstore, NLDT);
        else



Home | Main Index | Thread Index | Old Index