Re: [PATCH v6 net-next 05/14] net: enetc: add debugfs interface to dump MAC filter

Timur Tabi
2025-04-29T17:00:42Z

On Mon, Apr 28, 2025 at 6:19 AM Wei Fang <wei.fang@nxp.com> wrote:
> +void enetc_remove_debugfs(struct enetc_si *si)
> +{
> + debugfs_remove_recursive(si->debugfs_root);

You can just call debugfs_remove() here. debugfs_remove_recursive()
is deprecated:

void debugfs_remove(struct dentry *dentry);
#define debugfs_remove_recursive debugfs_remove