perf/core: Delete PF_EXITING checks from perf_cgroup_exit() callback
authorKirill Tkhai <ktkhai@odin.com>
Mon, 31 Aug 2015 12:12:56 +0000 (15:12 +0300)
committerIngo Molnar <mingo@kernel.org>
Sun, 13 Sep 2015 09:27:23 +0000 (11:27 +0200)
commit516792e67c39d31701641ab355acdb9cbfec0643
treead17983965eb8a08c3e83ef9f55fa5f39b9157b9
parentdeb27519bf1f4b21a761c0675dbdf1196df7d72a
perf/core: Delete PF_EXITING checks from perf_cgroup_exit() callback

cgroup_exit() is not called from copy_process() after commit:

  e8604cb43690 ("cgroup: fix spurious lockdep warning in cgroup_exit()")

from do_exit(). So this check is useless and the comment is obsolete.

Signed-off-by: Kirill Tkhai <ktkhai@odin.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Link: http://lkml.kernel.org/r/55E444C8.3020402@odin.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/events/core.c