Subject: Re: [PATCH net-next] netdevsim: remove max_vfs dentry

From: Leon Romanovsky <[email-masked]>
Date: Sun, 31 Oct 2021 09:55:11 +0200

On Thu, Oct 28, 2021 at 02:17:53PM -0700, Jakub Kicinski wrote:
> Commit d395381909a3 ("netdevsim: Add max_vfs to bus_dev")
> added this file and saved the dentry for no apparent reason.
> 
> Signed-off-by: Jakub Kicinski <[email-masked]>
> ---
>  drivers/net/netdevsim/dev.c       | 8 +++-----
>  drivers/net/netdevsim/netdevsim.h | 1 -
>  2 files changed, 3 insertions(+), 6 deletions(-)

I think that "debugfs_create_file("ipsec", 0400, ..." can be cleaned
too. It is connected to ddir, which is removed recursively.

Reviewed-by: Leon Romanovsky <[email-masked]>

Thanks