From d4ceeb8daaa8fac2179d8cbf275d1e05ab67c564 Mon Sep 17 00:00:00 2001 From: antoine Date: Sat, 23 Aug 2008 12:40:07 +0000 Subject: Remove unused variable nosleepwithlocks. PR: 126609 Submitted by: Mateusz Guzik MFC after: 1 month X-MFC: to stable/7 only, this variable is still used in stable/6 --- sys/vm/uma_core.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'sys/vm') diff --git a/sys/vm/uma_core.c b/sys/vm/uma_core.c index bf00d56..d9e1d8c 100644 --- a/sys/vm/uma_core.c +++ b/sys/vm/uma_core.c @@ -249,13 +249,6 @@ void uma_print_stats(void); static int sysctl_vm_zone_count(SYSCTL_HANDLER_ARGS); static int sysctl_vm_zone_stats(SYSCTL_HANDLER_ARGS); -#ifdef WITNESS -static int nosleepwithlocks = 1; -#else -static int nosleepwithlocks = 0; -#endif -SYSCTL_INT(_debug, OID_AUTO, nosleepwithlocks, CTLFLAG_RW, &nosleepwithlocks, - 0, "Convert M_WAITOK to M_NOWAIT to avoid lock-held-across-sleep paths"); SYSINIT(uma_startup3, SI_SUB_VM_CONF, SI_ORDER_SECOND, uma_startup3, NULL); SYSCTL_PROC(_vm, OID_AUTO, zone_count, CTLFLAG_RD|CTLTYPE_INT, -- cgit v1.1