diff options
author | Li Zetao <lizetao1@huawei.com> | 2023-08-17 04:47:36 +0300 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2023-08-21 10:55:11 +0300 |
commit | 035a69586f329e3e73750299695401e0c2b76ee2 (patch) | |
tree | f0e0eeb5cb5e47fa058727addbda3392a7aa700a /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 71281ec9c82608c42d6841a75ced97aecd4274be (diff) | |
download | linux-035a69586f329e3e73750299695401e0c2b76ee2.tar.xz |
xen: xenbus: Use helper function IS_ERR_OR_NULL()
Use IS_ERR_OR_NULL() to detect an error pointer or a null pointer
open-coding to simplify the code.
Signed-off-by: Li Zetao <lizetao1@huawei.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/20230817014736.3094289-1-lizetao1@huawei.com
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions