]> git.baikalelectronics.ru Git - kernel.git/commit
posix-cpu-timer: Unify the now redundant code in lookup_task
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 28 Apr 2020 18:00:39 +0000 (13:00 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 28 Apr 2020 21:46:04 +0000 (16:46 -0500)
commit8c14f489b7e1ffbe34342b1090d9ec228a635478
treeea8dcd9dbb0b0e83f67ba4f8ca2e1ac5707739a1
parent5a12eb610591e72c7bd49d77af10422915f60223
posix-cpu-timer:  Unify the now redundant code in lookup_task

Now that both !thread paths through lookup_task call
thread_group_leader, unify them into the single test at the end of
lookup_task.

This unification just makes it clear what is happening in the gettime
special case of lookup_task.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
kernel/time/posix-cpu-timers.c