Re: [PATCH] crypto: acix: Remove unused struct 'dbgfs_u32'

From: Dr. David Alan Gilbert
Date: Fri May 24 2024 - 20:06:47 EST


* linux@xxxxxxxxxxx (linux@xxxxxxxxxxx) wrote:
> From: "Dr. David Alan Gilbert" <linux@xxxxxxxxxxx>
>
> 'dbgfs_u32' appears unused.
> Remove it.
> (pdma_stat_descr is also unused, but I'm assuming it's
> some useful layout description of firmware/hardware
> so best left in)
>
> Signed-off-by: Dr. David Alan Gilbert <linux@xxxxxxxxxxx>

Ping.

Dave

> ---
> drivers/crypto/axis/artpec6_crypto.c | 7 -------
> 1 file changed, 7 deletions(-)
>
> diff --git a/drivers/crypto/axis/artpec6_crypto.c b/drivers/crypto/axis/artpec6_crypto.c
> index dbc1d483f2afa..75440ea6206e2 100644
> --- a/drivers/crypto/axis/artpec6_crypto.c
> +++ b/drivers/crypto/axis/artpec6_crypto.c
> @@ -2811,13 +2811,6 @@ static struct aead_alg aead_algos[] = {
>
> #ifdef CONFIG_DEBUG_FS
>
> -struct dbgfs_u32 {
> - char *name;
> - mode_t mode;
> - u32 *flag;
> - char *desc;
> -};
> -
> static struct dentry *dbgfs_root;
>
> static void artpec6_crypto_init_debugfs(void)
> --
> 2.45.0
>
--
-----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux | Happy \
\ dave @ treblig.org | | In Hex /
\ _________________________|_____ http://www.treblig.org |_______/