hsr: use debugfs_remove_recursive() instead of debugfs_remove()
If it uses debugfs_remove_recursive() instead of debugfs_remove(), hsr_priv() doesn't need to have "node_tbl_file" pointer variable. Signed-off-by: Taehee Yoo <ap420073@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
892e09153f
commit
f3f2f98470
@@ -166,7 +166,6 @@ struct hsr_priv {
|
||||
unsigned char sup_multicast_addr[ETH_ALEN];
|
||||
#ifdef CONFIG_DEBUG_FS
|
||||
struct dentry *node_tbl_root;
|
||||
struct dentry *node_tbl_file;
|
||||
#endif
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user