sched/core: Drop the unused try_get_task_struct() helper function
authorDavidlohr Bueso <dave@stgolabs.net>
Thu, 15 Jun 2017 02:37:30 +0000 (19:37 -0700)
committerIngo Molnar <mingo@kernel.org>
Tue, 20 Jun 2017 10:48:37 +0000 (12:48 +0200)
commitf11cc0760b8397e0d230122606421b6a96e9f869
tree64bdf2282b63dff6d2a5203376d5c640cc234f28
parent902b31941327a0e9c0ca9eb7750414ae41bf8a89
sched/core: Drop the unused try_get_task_struct() helper function

This function was introduced by:

  150593bf8693 ("sched/api: Introduce task_rcu_dereference() and try_get_task_struct()")

... to allow easier usage of task_rcu_dereference(), however no users
were ever added. Drop the helper.

Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: dave@stgolabs.net
Link: http://lkml.kernel.org/r/20170615023730.22827-1-dave@stgolabs.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/sched/task.h
kernel/exit.c