diff options
Diffstat (limited to 'tools/perf/util/annotate.c')
-rw-r--r-- | tools/perf/util/annotate.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tools/perf/util/annotate.c b/tools/perf/util/annotate.c index 25a9259a6a6e..1b59e3129216 100644 --- a/tools/perf/util/annotate.c +++ b/tools/perf/util/annotate.c | |||
@@ -491,13 +491,6 @@ static struct ins *ins__find(const char *name) | |||
491 | return bsearch(name, instructions, nmemb, sizeof(struct ins), ins__key_cmp); | 491 | return bsearch(name, instructions, nmemb, sizeof(struct ins), ins__key_cmp); |
492 | } | 492 | } |
493 | 493 | ||
494 | int symbol__annotate_init(struct map *map __maybe_unused, struct symbol *sym) | ||
495 | { | ||
496 | struct annotation *notes = symbol__annotation(sym); | ||
497 | pthread_mutex_init(¬es->lock, NULL); | ||
498 | return 0; | ||
499 | } | ||
500 | |||
501 | int symbol__alloc_hist(struct symbol *sym) | 494 | int symbol__alloc_hist(struct symbol *sym) |
502 | { | 495 | { |
503 | struct annotation *notes = symbol__annotation(sym); | 496 | struct annotation *notes = symbol__annotation(sym); |