* [PATCH] crypto: acix: Remove unused struct 'dbgfs_u32'
@ 2024-05-11 14:50 linux
2024-05-25 0:06 ` Dr. David Alan Gilbert
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: linux @ 2024-05-11 14:50 UTC (permalink / raw)
To: jesper.nilsson, lars.persson
Cc: herbert, linux-arm-kernel, linux-crypto, linux-kernel,
Dr. David Alan Gilbert
From: "Dr. David Alan Gilbert" <linux@treblig.org>
'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@treblig.org>
---
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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] crypto: acix: Remove unused struct 'dbgfs_u32'
2024-05-11 14:50 [PATCH] crypto: acix: Remove unused struct 'dbgfs_u32' linux
@ 2024-05-25 0:06 ` Dr. David Alan Gilbert
2024-05-31 7:48 ` Jesper Nilsson
2024-05-31 9:41 ` Herbert Xu
2 siblings, 0 replies; 4+ messages in thread
From: Dr. David Alan Gilbert @ 2024-05-25 0:06 UTC (permalink / raw)
To: jesper.nilsson, lars.persson
Cc: herbert, linux-arm-kernel, linux-crypto, linux-kernel
* linux@treblig.org (linux@treblig.org) wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
>
> '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@treblig.org>
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 |_______/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] crypto: acix: Remove unused struct 'dbgfs_u32'
2024-05-11 14:50 [PATCH] crypto: acix: Remove unused struct 'dbgfs_u32' linux
2024-05-25 0:06 ` Dr. David Alan Gilbert
@ 2024-05-31 7:48 ` Jesper Nilsson
2024-05-31 9:41 ` Herbert Xu
2 siblings, 0 replies; 4+ messages in thread
From: Jesper Nilsson @ 2024-05-31 7:48 UTC (permalink / raw)
To: linux
Cc: jesper.nilsson, lars.persson, herbert, linux-arm-kernel,
linux-crypto, linux-kernel
On Sat, May 11, 2024 at 03:50:17PM +0100, linux@treblig.org wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
>
> '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)
IIRC, the stat data is of this format, but it is only
checked for "non-zero" as indicator a finished job.
> Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>
/^JN - Jesper Nilsson
--
Jesper Nilsson -- jesper.nilsson@axis.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] crypto: acix: Remove unused struct 'dbgfs_u32'
2024-05-11 14:50 [PATCH] crypto: acix: Remove unused struct 'dbgfs_u32' linux
2024-05-25 0:06 ` Dr. David Alan Gilbert
2024-05-31 7:48 ` Jesper Nilsson
@ 2024-05-31 9:41 ` Herbert Xu
2 siblings, 0 replies; 4+ messages in thread
From: Herbert Xu @ 2024-05-31 9:41 UTC (permalink / raw)
To: linux
Cc: jesper.nilsson, lars.persson, linux-arm-kernel, linux-crypto,
linux-kernel
On Sat, May 11, 2024 at 03:50:17PM +0100, linux@treblig.org wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
>
> '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@treblig.org>
> ---
> drivers/crypto/axis/artpec6_crypto.c | 7 -------
> 1 file changed, 7 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-05-31 9:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-11 14:50 [PATCH] crypto: acix: Remove unused struct 'dbgfs_u32' linux
2024-05-25 0:06 ` Dr. David Alan Gilbert
2024-05-31 7:48 ` Jesper Nilsson
2024-05-31 9:41 ` Herbert Xu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).