aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorTiezhu Yang <[email protected]>2020-07-07 10:12:50 +0800
committerMarc Zyngier <[email protected]>2020-07-17 13:41:42 +0100
commitb10cbca8f03dd10dc241395a639d488f4144e986 (patch)
tree2e3223ebcf79d9908056d71ba3ad22b400be07e8 /tools/perf/util/scripting-engines/trace-event-python.c
parent66a535c495f72e1deacc37dfa34acca2a06e3578 (diff)
irqchip/loongson-pch-msi: Remove unneeded variable
irq_domain_alloc_irqs_parent() returns 0 on success and non-zero value on failure, it is redudant to check its non-zero return value and then return it, so just remove the variable "ret" and return directly in the function pch_msi_parent_domain_alloc(). Signed-off-by: Tiezhu Yang <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions