2024-05-11 14:50:42

by Dr. David Alan Gilbert

[permalink] [raw]
Subject: [PATCH] crypto: acix: Remove unused struct 'dbgfs_u32'

From: "Dr. David Alan Gilbert" <[email protected]>

'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 <[email protected]>
---
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



2024-05-25 00:06:45

by Dr. David Alan Gilbert

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

* [email protected] ([email protected]) wrote:
> From: "Dr. David Alan Gilbert" <[email protected]>
>
> '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 <[email protected]>

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 |_______/