aboutsummaryrefslogtreecommitdiffstats
path: root/init/init_task.c
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2023-08-26 11:14:09 +0000
committerAndrew Morton <[email protected]>2023-10-04 17:41:56 +0000
commit8e1f385104ac044f1552686ad6e1cbc71cc05a30 (patch)
tree223317c54e65c8b62187e6de620f8bc8167a2370 /init/init_task.c
parentchange thread_group_empty() to use task_struct->thread_node (diff)
downloadkernel-8e1f385104ac044f1552686ad6e1cbc71cc05a30.tar.gz
kernel-8e1f385104ac044f1552686ad6e1cbc71cc05a30.zip
kill task_struct->thread_group
The last user was removed by the previous patch. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Oleg Nesterov <[email protected]> Cc: Eric W. Biederman <[email protected]> Cc: Peter Zijlstra <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'init/init_task.c')
-rw-r--r--init/init_task.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/init/init_task.c b/init/init_task.c
index ff6c4b9bfe6b..c0de0200fd56 100644
--- a/init/init_task.c
+++ b/init/init_task.c
@@ -132,7 +132,6 @@ struct task_struct init_task
.pi_lock = __RAW_SPIN_LOCK_UNLOCKED(init_task.pi_lock),
.timer_slack_ns = 50000, /* 50 usec default slack */
.thread_pid = &init_struct_pid,
- .thread_group = LIST_HEAD_INIT(init_task.thread_group),
.thread_node = LIST_HEAD_INIT(init_signals.thread_head),
#ifdef CONFIG_AUDIT
.loginuid = INVALID_UID,