diff options
| author | Zhen Lei <thunder.leizhen@huawei.com> | 2024-10-28 10:09:43 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2024-10-30 18:51:52 -0700 |
| commit | 67826db318dd6d105b60d4e380e97e36280b9681 (patch) | |
| tree | 5a51729648c63107102f60560e7266c6eedae5da /net/unix/sysctl_net_unix.c | |
| parent | bf8207ec8c3092555365036e28d227e997864799 (diff) | |
bna: Remove field bnad_dentry_files[] in struct bnad
Function debugfs_remove() recursively removes a directory, include all
files created by debugfs_create_file(). Therefore, there is no need to
explicitly record each file with member ->bnad_dentry_files[] and
explicitly delete them at the end. Remove field bnad_dentry_files[] and
its related processing codes for simplification.
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20241028020943.507-3-thunder.leizhen@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
