summaryrefslogtreecommitdiff
path: root/crypto/kpp.c
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2025-12-22 11:44:55 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2026-01-23 13:48:43 +0800
commita3f8e00991f96ee7c3c77834258baa06a39fbbff (patch)
treea2f10ed47889935e6d8c52d7fea8f6d933c3261c /crypto/kpp.c
parentb4f275b92dc74750a09ac0d272c1570828b86f7e (diff)
downloadlinux-next-a3f8e00991f96ee7c3c77834258baa06a39fbbff.tar.gz
linux-next-a3f8e00991f96ee7c3c77834258baa06a39fbbff.zip
crypto: api - remove unnecessary forward declarations
Add the __maybe_unused attribute to the function definitions and remove the now-unnecessary forward declarations. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/kpp.c')
-rw-r--r--crypto/kpp.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/crypto/kpp.c b/crypto/kpp.c
index 2e0cefe7a25f..7451d39a7ad8 100644
--- a/crypto/kpp.c
+++ b/crypto/kpp.c
@@ -29,10 +29,8 @@ static int __maybe_unused crypto_kpp_report(
return nla_put(skb, CRYPTOCFGA_REPORT_KPP, sizeof(rkpp), &rkpp);
}
-static void crypto_kpp_show(struct seq_file *m, struct crypto_alg *alg)
- __maybe_unused;
-
-static void crypto_kpp_show(struct seq_file *m, struct crypto_alg *alg)
+static void __maybe_unused crypto_kpp_show(struct seq_file *m,
+ struct crypto_alg *alg)
{
seq_puts(m, "type : kpp\n");
}