diff options
author | Ilpo Järvinen <[email protected]> | 2023-08-24 16:28:31 +0300 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2023-08-25 06:20:53 -0700 |
commit | a1f38987dd1cd2fce4a6a00fc7377c3d556a240f (patch) | |
tree | cd04a936430f534add3239f80741b1df654c06d4 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 1e3c3a7989495512f2b180adb4f22d500cb79960 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions