diff options
author | 2015-10-08 14:58:56 +1100 | |
---|---|---|
committer | 2015-10-21 20:42:14 +1100 | |
commit | 00ba05a12b3c9ee398235e03ad4bece7f836ada5 (patch) | |
tree | e08d7aa5015ecfda0acf062dead0227731ec8a7c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | powerpc/eeh: More relaxed condition for enabled IO path (diff) | |
download | linux-dev-00ba05a12b3c9ee398235e03ad4bece7f836ada5.tar.xz linux-dev-00ba05a12b3c9ee398235e03ad4bece7f836ada5.zip |
powerpc/pseries: Cleanup on pseries_eeh_get_state()
This cleans up pseries_eeh_get_state(), no functional changes:
* Return EEH_STATE_NOT_SUPPORT early when the 2nd RTAS output
argument is zero to avoid nested if statements.
* Skip clearing bits in the PE state represented by variable
"result" to simplify the code.
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions