diff options
author | Ilpo Järvinen <[email protected]> | 2023-09-11 15:53:50 +0300 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2023-10-10 16:36:26 -0500 |
commit | a1165c5edf57fa3238e938b0513395f624d7565b (patch) | |
tree | 52eebfceea9a426f1a60436928012323604a5f67 /tools/perf/util/trace-event-scripting.c | |
parent | 7d52f538cef8d56b179eace7c796d9edb3094dad (diff) |
sh: pci: Do PCI error check on own line
Instead of an "if" condition with a line split, use the usual error
handling pattern with a separate variable to improve readability.
No functional changes intended.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ilpo Järvinen <[email protected]>
[bhelgaas: u16 vid, PCI_POSSIBLE_ERROR()]
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: John Paul Adrian Glaubitz <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions