diff options
author | Greg Kurz <groug@kaod.org> | 2018-12-10 16:18:13 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-12-20 22:21:20 +1100 |
commit | 759bc01586535700fbb1aaf40dd727146e2e8b57 (patch) | |
tree | b1ba3fd6fe680e874d15a7b0eb2e89973adf623c /tools/perf/command-list.txt | |
parent | 3cfb9ebe906b51f2942b1e251009bb251efd2ba6 (diff) |
ocxl: Clarify error path in setup_xsl_irq()
Implementing rollback with goto and labels is a common practice that
leads to prettier and more maintainable code. FWIW, this design pattern
is already being used in alloc_link() a few lines below in this file.
Do the same in setup_xsl_irq().
Signed-off-by: Greg Kurz <groug@kaod.org>
Acked-by: Frederic Barrat <fbarrat@linux.ibm.com>
Acked-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/command-list.txt')
0 files changed, 0 insertions, 0 deletions