[PATCH 7/9] b43: don't save dentries for debugfs
Greg Kroah-Hartman
gregkh at linuxfoundation.org
Tue May 18 17:30:15 BST 2021
On Tue, May 18, 2021 at 06:27:59PM +0200, Greg Kroah-Hartman wrote:
> There is no need to keep around the dentry pointers for the debugfs
> files as they will all be automatically removed when the subdir is
> removed. So save the space and logic involved in keeping them around by
> just getting rid of them entirely.
>
> By doing this change, we remove one of the last in-kernel user that was
> storing the result of debugfs_create_bool(), so that api can be cleaned
> up.
>
> Cc: Kalle Valo <kvalo at codeaurora.org>
> Cc: "David S. Miller" <davem at davemloft.net>
> Cc: Jakub Kicinski <kuba at kernel.org>
> Cc: Kees Cook <keescook at chromium.org>
> Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> Cc: Jason Gunthorpe <jgg at ziepe.ca>
> Cc: Chao Yu <chao at kernel.org>
> Cc: Leon Romanovsky <leon at kernel.org>
> Cc: linux-wireless at vger.kernel.org
> Cc: b43-dev at lists.infradead.org
> Cc: netdev at vger.kernel.org
> Cc: linux-kernel at vger.kernel.org
> Signed-off-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> ---
> drivers/net/wireless/broadcom/b43/debugfs.c | 34 +++------------------
> drivers/net/wireless/broadcom/b43/debugfs.h | 3 --
> 2 files changed, 5 insertions(+), 32 deletions(-)
Bah, got the subject wrong, will resend...
More information about the b43-dev
mailing list