diff options
author | 2023-08-24 16:28:31 +0300 | |
---|---|---|
committer | 2023-08-25 06:20:53 -0700 | |
commit | a1f38987dd1cd2fce4a6a00fc7377c3d556a240f (patch) | |
tree | cd04a936430f534add3239f80741b1df654c06d4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | hwmon: (vt8231) Do PCI error checks on own line (diff) | |
download | wireguard-linux-a1f38987dd1cd2fce4a6a00fc7377c3d556a240f.tar.xz wireguard-linux-a1f38987dd1cd2fce4a6a00fc7377c3d556a240f.zip |
hwmon: (sis5595) Do PCI error checks on own line
Instead of if conditions with line splits, use the usual error handling
pattern with a separate variable to improve readability. Handle error
print with a label instead of trying to chain everything into a single
if condition.
No functional changes intended.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20230824132832.78705-14-ilpo.jarvinen@linux.intel.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions