perf/core: Remove unused perf_cgroup_event_cgrp_time() function
authorMatthias Kaehlcke <mka@chromium.org>
Tue, 23 May 2017 21:51:32 +0000 (14:51 -0700)
committerIngo Molnar <mingo@kernel.org>
Thu, 8 Jun 2017 08:12:39 +0000 (10:12 +0200)
commitd0fabd1cb8b70073a0f44f1cf8b663b5e7241c74
tree4642d578124e16c89580f388952a253b99c5006d
parentba5213ae6b88fb170c4771fef6553f759c7d8cdd
perf/core: Remove unused perf_cgroup_event_cgrp_time() function

The function was added by commit e5d1367f17ba ("perf: Add cgroup
support") in 2011 and hasn't been used since then. Removing it fixes the
following warning when building with Clang:

    kernel/events/core.c:696:19: error: unused function 'perf_cgroup_event_cgrp_time' [-Werror,-Wunused-function]

Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Douglas Anderson <dianders@chromium.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20170523215132.189049-1-mka@chromium.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/events/core.c