summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorRuan Jinjie <ruanjinjie@huawei.com>2023-08-17 10:09:31 +0300
committerBjorn Helgaas <bhelgaas@google.com>2023-10-06 01:14:56 +0300
commit63a0b7dc15376c495dbbeadf55bf887412a7f877 (patch)
treefffd7c8278a208c2d6a6312a39667fe3a31df970 /tools/perf/scripts/python/stackcollapse.py
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d (diff)
downloadlinux-63a0b7dc15376c495dbbeadf55bf887412a7f877.tar.xz
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions