diff options
author | Taehee Yoo <[email protected]> | 2020-02-01 16:43:30 +0000 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2020-02-03 15:32:20 -0800 |
commit | 6556ff32f12d0a5380dd2fa6bbaa01373925a7d1 (patch) | |
tree | 28d6bff0ce10881ab7d85aca87965202f9ddbc9b /scripts/gdb/linux/timerlist.py | |
parent | 6fb8852b1298200da39bd85788bc5755d1d56f32 (diff) |
netdevsim: use IS_ERR instead of IS_ERR_OR_NULL for debugfs
Debugfs APIs return valid pointer or error pointer. it doesn't return NULL.
So, using IS_ERR is enough, not using IS_ERR_OR_NULL.
Reviewed-by: Jakub Kicinski <[email protected]>
Reported-by: kbuild test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Taehee Yoo <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions