diff options
author | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2023-08-24 16:28:31 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2023-08-25 06:20:53 -0700 |
commit | a1f38987dd1cd2fce4a6a00fc7377c3d556a240f (patch) | |
tree | cd04a936430f534add3239f80741b1df654c06d4 /net/packet | |
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 <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 'net/packet')
0 files changed, 0 insertions, 0 deletions