summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/mm.py
diff options
context:
space:
mode:
authorZhengchao Shao <shaozhengchao@huawei.com>2023-08-10 16:50:05 +0300
committerDavid S. Miller <davem@davemloft.net>2023-08-11 13:10:55 +0300
commitcc317ea3d9272fab4f6fef527c865f30ca479394 (patch)
treed068a6ee08b96dc1f7333b80769566935bb061f3 /scripts/gdb/linux/mm.py
parent57647e6fdf174e3c84072a39d901036f867e4192 (diff)
downloadlinux-cc317ea3d9272fab4f6fef527c865f30ca479394.tar.xz
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 <shaozhengchao@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gdb/linux/mm.py')
0 files changed, 0 insertions, 0 deletions