aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSam Bobroff <sam.bobroff@au1.ibm.com>2018-03-21 13:06:40 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2018-03-27 23:45:14 +1100
commit54048cf876615285363f6f6c21014bf2462ebe0d (patch)
tree73bbea88178db69adfc2b79b127402cf542c9b3f /tools/perf/scripts/python/export-to-postgresql.py
parentpowerpc/eeh: Remove always-true tests in eeh_reset_device() (diff)
downloadwireguard-linux-54048cf876615285363f6f6c21014bf2462ebe0d.tar.xz
wireguard-linux-54048cf876615285363f6f6c21014bf2462ebe0d.zip
powerpc/eeh: Factor out common code eeh_reset_device()
The caller will always pass NULL for 'rmv_data' when 'eeh_aware_driver' is true, so the first two calls to eeh_pe_dev_traverse() can be combined without changing behaviour as can the two arms of the final 'if' block. This should not change behaviour. Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com> Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru> 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