aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorHongbo Li <lihongbo22@huawei.com>2024-08-28 20:26:18 +0800
committerJohn Johansen <john.johansen@canonical.com>2024-11-26 19:21:05 -0800
commitc03093730616a0ce23b1f25f0c5a7f3f613ca94a (patch)
tree194872ab46a82423d744c5c5a41f899f41739b43 /tools/perf/scripts/python/exported-sql-viewer.py
parent9208c05f9fdfd927ea160b97dfef3c379049fff2 (diff)
downloadlinux-c03093730616a0ce23b1f25f0c5a7f3f613ca94a.tar.gz
linux-c03093730616a0ce23b1f25f0c5a7f3f613ca94a.tar.bz2
linux-c03093730616a0ce23b1f25f0c5a7f3f613ca94a.zip
apparmor: 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: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions