Skip to contentSkip to conversation

crypto: acix: Remove unused struct 'dbgfs_u32'

PATCH In review [email protected] 4 participants 4 messages May 11, 2024 – May 31, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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)

---
 drivers/crypto/axis/artpec6_crypto.c | 7 -------
 1 file changed, 7 deletions(-)
drivers/crypto/axis/artpec6_crypto.c +0 -7
index dbc1d483f2afa..75440ea6206e2 100644
@@ -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)
Signature · 1 line
2.45.0
#1 lore raw
Quoted 9 lines · * [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)

Ping.

Dave

Quoted 25 lines
---
 drivers/crypto/axis/artpec6_crypto.c | 7 -------
 1 file changed, 7 deletions(-)
drivers/crypto/axis/artpec6_crypto.c +0 -7
index dbc1d483f2afa..75440ea6206e2 100644
@@ -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)
Signature · 1 line
2.45.0
Signature · 4 lines
 -----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   |_______/
maintainer Acked-by on v1 1/1
#2 lore raw
In reply to [email protected]
Quoted 7 lines · On Sat, May 11, 2024 at 03:50:17PM +0100, [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)

IIRC, the stat data is of this format, but it is only checked for "non-zero" as indicator a finished job.

Quoted 1 line

/^JN - Jesper Nilsson

Signature · 1 line
               Jesper Nilsson -- [email protected]
maintainer
#3 lore raw
In reply to [email protected]
Quoted 8 lines · On Sat, May 11, 2024 at 03:50:17PM +0100, [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)

Quoted 4 lines
---
 drivers/crypto/axis/artpec6_crypto.c | 7 -------
 1 file changed, 7 deletions(-)

Patch applied. Thanks.

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt