From 3c2417563995239bdd83d34e78722374385f5b18 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Sun, 29 Aug 2010 20:05:44 -0700 Subject: [PATCH] kernel - kobj code cleanup * Cleanup remains of KOBJ_STATS --- sys/kern/subr_kobj.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/sys/kern/subr_kobj.c b/sys/kern/subr_kobj.c index a4ab7f7962..ec5435ce84 100644 --- a/sys/kern/subr_kobj.c +++ b/sys/kern/subr_kobj.c @@ -46,20 +46,6 @@ static MALLOC_DEFINE(M_KOBJ, "kobj", "Kernel object structures"); -#ifdef KOBJ_STATS - -#include - -u_int kobj_lookup_hits; -u_int kobj_lookup_misses; - -SYSCTL_UINT(_kern, OID_AUTO, kobj_hits, CTLFLAG_RD, - &kobj_lookup_hits, 0, "") -SYSCTL_UINT(_kern, OID_AUTO, kobj_misses, CTLFLAG_RD, - &kobj_lookup_misses, 0, "") - -#endif - static struct lwkt_token kobj_token; static int kobj_next_id = 1; -- 2.41.0