Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Remove this MALLOC_DEFINE (M_PMF unused).



details:   https://anonhg.NetBSD.org/src/rev/b61061818d08
branches:  trunk
changeset: 336106:b61061818d08
user:      maxv <maxv%NetBSD.org@localhost>
date:      Fri Feb 13 13:26:50 2015 +0000

description:
Remove this MALLOC_DEFINE (M_PMF unused).

diffstat:

 sys/kern/kern_pmf.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r 952a17f49663 -r b61061818d08 sys/kern/kern_pmf.c
--- a/sys/kern/kern_pmf.c       Fri Feb 13 09:00:50 2015 +0000
+++ b/sys/kern/kern_pmf.c       Fri Feb 13 13:26:50 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_pmf.c,v 1.36 2012/11/13 14:08:07 chs Exp $ */
+/* $NetBSD: kern_pmf.c,v 1.37 2015/02/13 13:26:50 maxv Exp $ */
 
 /*-
  * Copyright (c) 2007 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_pmf.c,v 1.36 2012/11/13 14:08:07 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_pmf.c,v 1.37 2015/02/13 13:26:50 maxv Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -82,9 +82,6 @@
 
 /* #define PMF_DEBUG */
 
-#include <sys/mallocvar.h>
-MALLOC_DEFINE(M_PMF, "pmf", "device pmf messaging memory");
-
 static prop_dictionary_t pmf_platform = NULL;
 static struct workqueue *pmf_event_workqueue;
 static struct workqueue *pmf_suspend_workqueue;



Home | Main Index | Thread Index | Old Index