git: d3f7975fcb34 - main - thread_reap_barrier(): remove unused variable
Konstantin Belousov
kib at FreeBSD.org
Mon May 31 20:03:50 UTC 2021
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=d3f7975fcb346ea28dde079a9c04cff5ef20a8d7
commit d3f7975fcb346ea28dde079a9c04cff5ef20a8d7
Author: Konstantin Belousov <kib at FreeBSD.org>
AuthorDate: 2021-05-31 20:02:00 +0000
Commit: Konstantin Belousov <kib at 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.
More information about the dev-commits-src-main
mailing list