git: d62afc2e38b5 - stable/15 - sys/sched.h: make sched_clear_tdname() function prototypes unconditional

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Wed, 11 Feb 2026 05:17:13 UTC
The branch stable/15 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=d62afc2e38b5dda05cb4143ea54d7678c42090b4

commit d62afc2e38b5dda05cb4143ea54d7678c42090b4
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-01-22 04:00:59 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-02-11 05:12:35 +0000

    sys/sched.h: make sched_clear_tdname() function prototypes unconditional
    
    (cherry picked from commit 8515934ce3c290765df9254003f3c6d79da7e538)
---
 sys/sys/sched.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sys/sys/sched.h b/sys/sys/sched.h
index 052b8bb85f2f..f3a5d1eca874 100644
--- a/sys/sys/sched.h
+++ b/sys/sys/sched.h
@@ -174,9 +174,7 @@ int	sched_sizeof_thread(void);
  * functions.
  */
 char	*sched_tdname(struct thread *td);
-#ifdef KTR
 void	sched_clear_tdname(struct thread *td);
-#endif
 
 static __inline void
 sched_pin(void)