diff options
author | Daniel Axtens <dja@axtens.net> | 2021-10-15 18:06:27 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-11-25 11:25:31 +1100 |
commit | 10b34ece132ee46dc4e6459c765d180c422a09fa (patch) | |
tree | 7e503c89f12104a4233227c0df27f481ad9e797f /arch/powerpc/lib/code-patching.c | |
parent | 1e7684dc4fc70271c8bf86d397bd4fbfb3581e65 (diff) | |
download | linux-10b34ece132ee46dc4e6459c765d180c422a09fa.tar.gz linux-10b34ece132ee46dc4e6459c765d180c422a09fa.tar.bz2 linux-10b34ece132ee46dc4e6459c765d180c422a09fa.zip |
powerpc/eeh: Small refactor of eeh_handle_normal_event()
The control flow of eeh_handle_normal_event() is a bit tricky.
Break out one of the error handling paths - rather than be in an else
block, we'll make it part of the regular body of the function and put a
'goto out;' in the true limb of the if.
Signed-off-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211015070628.1331635-1-dja@axtens.net
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions