aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/perf/util/annotate.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/perf/util/annotate.c b/tools/perf/util/annotate.c
index b14d4df9f14..435bf6d1a77 100644
--- a/tools/perf/util/annotate.c
+++ b/tools/perf/util/annotate.c
@@ -171,15 +171,15 @@ static int lock__parse(struct ins_operands *ops)
171 if (disasm_line__parse(ops->raw, &name, &ops->locked.ops->raw) < 0) 171 if (disasm_line__parse(ops->raw, &name, &ops->locked.ops->raw) < 0)
172 goto out_free_ops; 172 goto out_free_ops;
173 173
174 ops->locked.ins = ins__find(name); 174 ops->locked.ins = ins__find(name);
175 if (ops->locked.ins == NULL) 175 if (ops->locked.ins == NULL)
176 goto out_free_ops; 176 goto out_free_ops;
177 177
178 if (!ops->locked.ins->ops) 178 if (!ops->locked.ins->ops)
179 return 0; 179 return 0;
180 180
181 if (ops->locked.ins->ops->parse) 181 if (ops->locked.ins->ops->parse)
182 ops->locked.ins->ops->parse(ops->locked.ops); 182 ops->locked.ins->ops->parse(ops->locked.ops);
183 183
184 return 0; 184 return 0;
185 185