[PATCH] taskstats: remove dead taskstats_exit_mutex declaration
From: Yiyang Chen
Date: Tue Jul 07 2026 - 11:11:57 EST
The extern declaration of taskstats_exit_mutex has never been defined nor
referenced anywhere now. Just remove it.
Signed-off-by: Yiyang Chen <cyyzero16@xxxxxxxxx>
---
include/linux/taskstats_kern.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/linux/taskstats_kern.h b/include/linux/taskstats_kern.h
index dbb4d124c7d7..995cd19b56c1 100644
--- a/include/linux/taskstats_kern.h
+++ b/include/linux/taskstats_kern.h
@@ -14,7 +14,6 @@
#ifdef CONFIG_TASKSTATS
extern struct kmem_cache *taskstats_cache;
-extern struct mutex taskstats_exit_mutex;
static inline void taskstats_tgid_free(struct signal_struct *sig)
{
--
2.43.0