Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm/pmap Remove unused LNAME macro



details:   https://anonhg.NetBSD.org/src/rev/e5439c1f22e6
branches:  trunk
changeset: 353309:e5439c1f22e6
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri Apr 28 17:04:33 2017 +0000

description:
Remove unused LNAME macro

diffstat:

 sys/uvm/pmap/pmap.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r d19659f257ad -r e5439c1f22e6 sys/uvm/pmap/pmap.c
--- a/sys/uvm/pmap/pmap.c       Fri Apr 28 13:38:35 2017 +0000
+++ b/sys/uvm/pmap/pmap.c       Fri Apr 28 17:04:33 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.31 2017/04/28 10:12:35 skrll Exp $  */
+/*     $NetBSD: pmap.c,v 1.32 2017/04/28 17:04:33 skrll Exp $  */
 
 /*-
  * Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.31 2017/04/28 10:12:35 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.32 2017/04/28 17:04:33 skrll Exp $");
 
 /*
  *     Manages physical address maps.
@@ -664,8 +664,6 @@
 pmap_activate(struct lwp *l)
 {
        pmap_t pmap = l->l_proc->p_vmspace->vm_map.pmap;
-#define LNAME(l) \
-       ((l)->l_name ? (l)->l_name : (l)->l_proc->p_comm)
 
        UVMHIST_FUNC(__func__); UVMHIST_CALLED(pmaphist);
        UVMHIST_LOG(pmaphist, "(l=%p pmap=%p)", l, pmap, 0, 0);



Home | Main Index | Thread Index | Old Index