Commit 295016a3 authored by wenglianfa's avatar wenglianfa Committed by Juan Zhou
Browse files

RDMA/hns: Cleanup for debugfs

driver inclusion
category: cleanup
bugzilla: https://gitee.com/openeuler/kernel/issues/I8LY0D



--------------------------------------------------------------------------

The structure member of hns_debugfs_seqfile records the handle
of the debugfs file After the debugfs file is created, a value
is assigned to the handle. It is originally used to destroy the
created debugfs subdirectory when the debugfs file system is
uninstalled. Because debugfs_remove_recursive() has been introduced
in previous reconstruction, this function only needs to know
the root directory of the debugfs file system and can automatically
destroy subdirectories recursively. The function of the structure
member entry of hns_debugfs_seqfile has been replaced. The deletion
is performed here.

Fixes: b6643496 ("RDMA/hns: Refactor hns RoCE debugfs")
Signed-off-by: default avatarwenglianfa <wenglianfa@huawei.com>
parent d51ce28b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment