diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2022-08-22 09:19:22 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-09-01 19:15:40 +0300 |
commit | e9628e015fe205f10766f031f17e217f85650570 (patch) | |
tree | 9c4a6aa64aa8a5c65f9433787e0926426f2439a9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 07b7b883be5ba0b4bd9ebf8d72c236ef36ae2676 (diff) | |
download | linux-e9628e015fe205f10766f031f17e217f85650570.tar.xz |
class: use IS_ERR_OR_NULL() helper in class_unregister()
Use IS_ERR_OR_NULL() helper in class_unregister() to simplify code.
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20220822061922.3884113-1-yangyingliang@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions