hsr: use debugfs_remove_recursive() instead of debugfs_remove()
authorTaehee Yoo <ap420073@gmail.com>
Fri, 28 Feb 2020 18:01:20 +0000 (18:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Mar 2020 05:37:03 +0000 (21:37 -0800)
commitf3f2f98470b7b8ead7c364c103303c3cac8c2ff0
treebb4e78e69bdd735c97887ae5dd74f605ccc007dd
parent892e09153fa3564fcbf9f422760b61eba48c123e
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>
net/hsr/hsr_debugfs.c
net/hsr/hsr_main.h