diff options
| author | Peter Zijlstra <[email protected]> | 2016-07-07 17:37:52 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2016-08-10 11:13:26 +0000 |
| commit | a5dcff628a678b9f4535155662f81c5cda066bc7 (patch) | |
| tree | b36be1eb1af77940ba2d71d5f6bc188ba493367a /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | perf/x86/intel: Eliminate dead code in intel_pmu_lbr_del() (diff) | |
| download | kernel-a5dcff628a678b9f4535155662f81c5cda066bc7.tar.gz kernel-a5dcff628a678b9f4535155662f81c5cda066bc7.zip | |
perf/x86/intel: Remove redundant test from intel_pmu_lbr_add()
By the time we call pmu::add(), event->ctx must be set, and we
even already rely on this, so remove that test from
intel_pmu_lbr_add().
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Vince Weaver <[email protected]>
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
