diff options
author | Li Zetao <[email protected]> | 2024-09-03 22:33:43 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-09-04 16:59:01 -0700 |
commit | 8ed6e71219a3571a5583db6f839e80eebaa2853d (patch) | |
tree | ed40425918041e4a180cc8d42f1b1788bb771646 /tools/testing/selftests/bpf/progs/test_prog_array_init.c | |
parent | 4614ac219e3f441c64d98d684edbdc8945d49dcc (diff) |
pds_core: Remove redundant null pointer checks
Since the debugfs_create_dir() never returns a null pointer, checking
the return value for a null pointer is redundant, and using IS_ERR is
safe enough.
Signed-off-by: Li Zetao <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions