perf/x86/intel: Simplify intel_tfa_commit_scheduling()
authorPeter Zijlstra <peterz@infradead.org>
Thu, 14 Mar 2019 08:47:18 +0000 (09:47 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 3 Apr 2019 07:25:29 +0000 (09:25 +0200)
commit1a81542abfdae21716a1a32ea8472de7a271dde6
treeadabc3f2a2cf71727bc9b738f7c0640e481963c4
parent5e7a8ca319268a70a6c7c3c1fde5bea38e1e5539
perf/x86/intel: Simplify intel_tfa_commit_scheduling()

validate_group() calls x86_schedule_events(.assign=NULL) and therefore
will not call intel_tfa_commit_scheduling(). So there is no point in
checking cpuc->is_fake, we'll never get there.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
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>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/events/intel/core.c