diff options
author | Zhengchao Shao <[email protected]> | 2023-08-10 21:50:05 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-08-11 11:10:55 +0100 |
commit | cc317ea3d9272fab4f6fef527c865f30ca479394 (patch) | |
tree | d068a6ee08b96dc1f7333b80769566935bb061f3 /tools/perf/scripts/python/task-analyzer.py | |
parent | 57647e6fdf174e3c84072a39d901036f867e4192 (diff) |
bonding: remove redundant NULL check in debugfs function
Because debugfs_create_dir returns ERR_PTR, so bonding_debug_root will
never be NULL. Remove redundant NULL check for bonding_debug_root in
debugfs function. The later debugfs_create_dir/debugfs_remove_recursive
/debugfs_remove_recursive functions will check the dentry with IS_ERR().
Signed-off-by: Zhengchao Shao <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions