From 7c6462b327328b0f4cb97f994364f717996bb3f2 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Sat, 3 Nov 2007 17:43:39 +0000 Subject: [PATCH] Remove unused tunables. --- sys/boot/forth/loader-bootp.conf | 4 +--- sys/boot/forth/loader.conf | 4 +--- sys/kern/kern_ktr.c | 6 +----- 3 files changed, 3 insertions(+), 11 deletions(-) diff --git a/sys/boot/forth/loader-bootp.conf b/sys/boot/forth/loader-bootp.conf index f2e6feb63c..0fa69f1a65 100644 --- a/sys/boot/forth/loader-bootp.conf +++ b/sys/boot/forth/loader-bootp.conf @@ -7,7 +7,7 @@ # All arguments must be in double quotes. # # $FreeBSD: src/sys/boot/forth/loader.conf,v 1.72 2003/07/01 01:03:32 brueffer Exp $ -# $DragonFly: src/sys/boot/forth/loader-bootp.conf,v 1.15 2007/09/19 15:01:54 swildner Exp $ +# $DragonFly: src/sys/boot/forth/loader-bootp.conf,v 1.16 2007/11/03 17:43:39 swildner Exp $ ############################################################## ### Basic configuration options ############################ @@ -101,8 +101,6 @@ module_path="/;/boot;/modules" # Set the module search path #net.inet.tcp.tcbhashsize="" # Set the value of TCBHASHSIZE #vfs.root.mountfrom="" # Specify root partition in a way the # kernel understands -#debug.ktr.cpumask="0xf" # Bitmask of CPUs to enable KTR on -#debug.ktr.mask="0x1200" # Bitmask of KTR events to enable #debug.ktr.verbose="1" # Enable console dump of KTR events #net.graph.maxalloc="128" # Maximum number of queue items to allocate #net.graph.ngqfreemax="64" # Maximum number of free queue items to cache diff --git a/sys/boot/forth/loader.conf b/sys/boot/forth/loader.conf index 0163ac7ca1..0ea67eabfb 100644 --- a/sys/boot/forth/loader.conf +++ b/sys/boot/forth/loader.conf @@ -7,7 +7,7 @@ # All arguments must be in double quotes. # # $FreeBSD: src/sys/boot/forth/loader.conf,v 1.72 2003/07/01 01:03:32 brueffer Exp $ -# $DragonFly: src/sys/boot/forth/loader.conf,v 1.22 2007/10/13 08:50:39 pavalos Exp $ +# $DragonFly: src/sys/boot/forth/loader.conf,v 1.23 2007/11/03 17:43:39 swildner Exp $ ############################################################## ### Basic configuration options ############################ @@ -101,8 +101,6 @@ module_path="/;/boot;/modules" # Set the module search path #net.inet.tcp.tcbhashsize="" # Set the value of TCBHASHSIZE #vfs.root.mountfrom="" # Specify root partition in a way the # kernel understands -#debug.ktr.cpumask="0xf" # Bitmask of CPUs to enable KTR on -#debug.ktr.mask="0x1200" # Bitmask of KTR events to enable #debug.ktr.verbose="1" # Enable console dump of KTR events #net.graph.maxalloc="128" # Maximum number of queue items to allocate #net.graph.ngqfreemax="64" # Maximum number of free queue items to cache diff --git a/sys/kern/kern_ktr.c b/sys/kern/kern_ktr.c index 91aeaedc82..2bbca65f4f 100644 --- a/sys/kern/kern_ktr.c +++ b/sys/kern/kern_ktr.c @@ -62,7 +62,7 @@ * SUCH DAMAGE. */ /* - * $DragonFly: src/sys/kern/kern_ktr.c,v 1.21 2007/04/30 07:18:53 dillon Exp $ + * $DragonFly: src/sys/kern/kern_ktr.c,v 1.22 2007/11/03 17:43:39 swildner Exp $ */ /* * Kernel tracepoint facility. @@ -130,10 +130,6 @@ MALLOC_DEFINE(M_KTR, "ktr", "ktr buffers"); SYSCTL_NODE(_debug, OID_AUTO, ktr, CTLFLAG_RW, 0, "ktr"); -static int32_t ktr_cpumask = -1; -TUNABLE_INT("debug.ktr.cpumask", &ktr_cpumask); -SYSCTL_INT(_debug_ktr, OID_AUTO, cpumask, CTLFLAG_RW, &ktr_cpumask, 0, ""); - static int ktr_entries = KTR_ENTRIES; SYSCTL_INT(_debug_ktr, OID_AUTO, entries, CTLFLAG_RD, &ktr_entries, 0, ""); -- 2.41.0