Module Name: src Committed By: pooka Date: Tue Jul 6 17:00:07 UTC 2010
Modified Files: src/sys/fs/puffs: puffs_msgif.c Log Message: Remove groolingly spooky variable which has been haunting us for several years without doing anything useful. To generate a diff of this commit: cvs rdiff -u -r1.81 -r1.82 src/sys/fs/puffs/puffs_msgif.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/fs/puffs/puffs_msgif.c diff -u src/sys/fs/puffs/puffs_msgif.c:1.81 src/sys/fs/puffs/puffs_msgif.c:1.82 --- src/sys/fs/puffs/puffs_msgif.c:1.81 Tue Jul 6 13:47:47 2010 +++ src/sys/fs/puffs/puffs_msgif.c Tue Jul 6 17:00:06 2010 @@ -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