diff options
| author | 2022-08-22 14:19:22 +0800 | |
|---|---|---|
| committer | 2022-09-01 18:15:40 +0200 | |
| commit | e9628e015fe205f10766f031f17e217f85650570 (patch) | |
| tree | 9c4a6aa64aa8a5c65f9433787e0926426f2439a9 /tools/scripts/ssh:/git@git.zx2c4.com | |
| parent | driver_core: move from strlcpy with unused retval to strscpy (diff) | |
| download | linux-dev-e9628e015fe205f10766f031f17e217f85650570.tar.xz linux-dev-e9628e015fe205f10766f031f17e217f85650570.zip | |
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/scripts/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
