diff options
author | 2018-03-19 13:49:04 +1100 | |
---|---|---|
committer | 2018-03-27 23:45:00 +1100 | |
commit | d3136d771292b87cfc217a528aa50acec0b2b84f (patch) | |
tree | 51d438f8c984d511db2afe1a44a7d0110497c541 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | powerpc/eeh: Clarify arguments to eeh_reset_device() (diff) | |
download | wireguard-linux-d3136d771292b87cfc217a528aa50acec0b2b84f.tar.xz wireguard-linux-d3136d771292b87cfc217a528aa50acec0b2b84f.zip |
powerpc/eeh: Remove always-true tests in eeh_reset_device()
eeh_reset_device() tests the value of 'bus' more than once but the
only caller, eeh_handle_normal_device() does this test itself and will
never pass NULL.
So, remove the dead tests.
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