Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/fs/puffs Remove groolingly spooky variable which has bee...
details: https://anonhg.NetBSD.org/src/rev/0d9b706d29f8
branches: trunk
changeset: 756099:0d9b706d29f8
user: pooka <pooka%NetBSD.org@localhost>
date: Tue Jul 06 17:00:06 2010 +0000
description:
Remove groolingly spooky variable which has been haunting us for
several years without doing anything useful.
diffstat:
sys/fs/puffs/puffs_msgif.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (35 lines):
diff -r f8c4f547dcfb -r 0d9b706d29f8 sys/fs/puffs/puffs_msgif.c
--- a/sys/fs/puffs/puffs_msgif.c Tue Jul 06 16:44:26 2010 +0000
+++ b/sys/fs/puffs/puffs_msgif.c Tue Jul 06 17:00:06 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: puffs_msgif.c,v 1.81 2010/07/06 13:47:47 pooka Exp $ */
+/* $NetBSD: puffs_msgif.c,v 1.82 2010/07/06 17:00:06 pooka Exp $ */
/*
* Copyright (c) 2005, 2006, 2007 Antti Kantee. All Rights Reserved.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: puffs_msgif.c,v 1.81 2010/07/06 13:47:47 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: puffs_msgif.c,v 1.82 2010/07/06 17:00:06 pooka Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -127,8 +127,6 @@
pool_cache_destroy(parkpc);
}
-static int alloced;
-
static struct puffs_msgpark *
puffs_msgpark_alloc(int waitok)
{
@@ -174,7 +172,6 @@
KASSERT(refcnt >= 0);
if (refcnt == 0) {
- alloced--;
if (preq)
kmem_free(preq, park->park_maxlen);
#if 1
Home |
Main Index |
Thread Index |
Old Index