From 9ad64f27be8788a6944f0a3cb90f91d8cfe46a0a Mon Sep 17 00:00:00 2001 From: Mark Johnston Date: Sat, 2 May 2015 00:27:58 +0000 Subject: [PATCH] Remove a stale reference to the stop_scheduler_on_panic tunable, which itself was removed in r243515. MFC after: 1 week --- sys/kern/kern_shutdown.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/kern/kern_shutdown.c b/sys/kern/kern_shutdown.c index 998ee150aebb..5125480a04ea 100644 --- a/sys/kern/kern_shutdown.c +++ b/sys/kern/kern_shutdown.c @@ -700,10 +700,8 @@ vpanic(const char *fmt, va_list ap) } /* - * We set stop_scheduler here and not in the block above, - * because we want to ensure that if panic has been called and - * stop_scheduler_on_panic is true, then stop_scheduler will - * always be set. Even if panic has been entered from kdb. + * Ensure that the scheduler is stopped while panicking, even if panic + * has been entered from kdb. */ td->td_stopsched = 1; #endif