diff options
author | Ruan Jinjie <ruanjinjie@huawei.com> | 2023-08-17 15:09:31 +0800 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2023-10-05 17:14:56 -0500 |
commit | 63a0b7dc15376c495dbbeadf55bf887412a7f877 (patch) | |
tree | fffd7c8278a208c2d6a6312a39667fe3a31df970 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0bb80ecc33a8fb5a682236443c1e740d5c917d1d (diff) |
PCI: endpoint: Use IS_ERR_OR_NULL() helper function
Use the IS_ERR_OR_NULL() helper instead of open-coding a NULL and an
error pointer checks to simplify the code and improve readability.
No functional changes are intended.
[kwilczynski: commit log]
Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com>
Signed-off-by: Krzysztof WilczyĆski <kwilczynski@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions