diff options
| author | Hongbo Li <lihongbo22@huawei.com> | 2024-08-28 15:24:50 +0300 |
|---|---|---|
| committer | Paul Moore <paul@paul-moore.com> | 2024-08-29 18:12:13 +0300 |
| commit | ce4a60592ee03e8f6900bf9bf2a6108cd1a9903c (patch) | |
| tree | 6a39883f7b8da1ea8385d0c1f122f484fe9f5579 /tools/perf/scripts/python/flamegraph.py | |
| parent | d6bd12e80bf94b055def6ff708e76f836b4b17ad (diff) | |
| download | linux-ce4a60592ee03e8f6900bf9bf2a6108cd1a9903c.tar.xz | |
lsm: 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.
Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
