diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2020-04-26 14:51:03 +0200 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2020-04-28 23:50:07 +0200 |
commit | 610b818856e1477964b59040c740f6ec55883045 (patch) | |
tree | 5644e1fc6d8283d457ff7facf5c71aa16d9bbfe8 /kernel/time/posix-cpu-timers.c | |
parent | posix-cpu-timer: Unify the now redundant code in lookup_task (diff) | |
download | linux-610b818856e1477964b59040c740f6ec55883045.tar.xz linux-610b818856e1477964b59040c740f6ec55883045.zip |
exec: Remove BUG_ON(has_group_leader_pid)
With the introduction of exchange_tids thread_group_leader and
has_group_leader_pid have become equivalent. Further at this point in the
code a thread group has exactly two threads, the previous thread_group_leader
that is waiting to be reaped and tsk. So we know it is impossible for tsk to
be the thread_group_leader.
This is also the last user of has_group_leader_pid so removing this check
will allow has_group_leader_pid to be removed.
So remove the "BUG_ON(has_group_leader_pid)" that will never fire.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'kernel/time/posix-cpu-timers.c')
0 files changed, 0 insertions, 0 deletions