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

Wei Fang
2025-04-30T01:36:19Z

> [Some people who received this message don't often get email from
> timur@kernel.org. Learn why this is important at
> https://aka.ms/LearnAboutSenderIdentification ]
>
> 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

Okay, I will replace it with debugfs_remove(), thanks