Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/kern/subr_pool.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/kern/subr_pool.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.87.2.7 retrieving revision 1.107 diff -u -p -r1.87.2.7 -r1.107 --- src/sys/kern/subr_pool.c 2005/12/11 10:29:12 1.87.2.7 +++ src/sys/kern/subr_pool.c 2005/11/02 14:32:54 1.107 @@ -1,4 +1,4 @@ -/* $NetBSD: subr_pool.c,v 1.87.2.7 2005/12/11 10:29:12 christos Exp $ */ +/* $NetBSD: subr_pool.c,v 1.107 2005/11/02 14:32:54 yamt Exp $ */ /*- * Copyright (c) 1997, 1999, 2000 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: subr_pool.c,v 1.87.2.7 2005/12/11 10:29:12 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: subr_pool.c,v 1.107 2005/11/02 14:32:54 yamt Exp $"); #include "opt_pool.h" #include "opt_poollog.h" @@ -1581,22 +1581,6 @@ pool_print(struct pool *pp, const char * } void -pool_printall(const char *modif, void (*pr)(const char *, ...)) -{ - struct pool *pp; - - if (simple_lock_try(&pool_head_slock) == 0) { - (*pr)("WARNING: pool_head_slock is locked\n"); - } else { - simple_unlock(&pool_head_slock); - } - - LIST_FOREACH(pp, &pool_head, pr_poollist) { - pool_printit(pp, modif, pr); - } -} - -void pool_printit(struct pool *pp, const char *modif, void (*pr)(const char *, ...)) {