The branch main has been updated by kib:

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

commit d3f7975fcb346ea28dde079a9c04cff5ef20a8d7
Author:     Konstantin Belousov <k...@freebsd.org>
AuthorDate: 2021-05-31 20:02:00 +0000
Commit:     Konstantin Belousov <k...@freebsd.org>
CommitDate: 2021-05-31 20:03:42 +0000

    thread_reap_barrier(): remove unused variable
    
    Noted by:       alc
    Sponsored by:   Mellanox Technologies/NVidia Networking
    MFC after:      1 week
---
 sys/kern/kern_thread.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c
index b5983eb4beb7..949095a4d34e 100644
--- a/sys/kern/kern_thread.c
+++ b/sys/kern/kern_thread.c
@@ -719,11 +719,8 @@ thread_reap_callout_cb(void *arg __unused)
 void
 thread_reap_barrier(void)
 {
-       struct thread *td;
        struct task *t;
 
-       td = curthread;
-
        /*
         * First do context switches to each CPU to ensure that all
         * PCPU pc_deadthreads are moved to zombie list.
_______________________________________________
dev-commits-src-main@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main
To unsubscribe, send any mail to "dev-commits-src-main-unsubscr...@freebsd.org"

Reply via email to