From: Thorsten Blum Date: Tue, 9 Dec 2025 15:30:43 +0000 (+0100) Subject: crypto: scompress - Remove forward declaration of crypto_scomp_show X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e8541f98df72046ba788f29b05e5bd2baaa86cb;p=thirdparty%2Fkernel%2Flinux.git crypto: scompress - Remove forward declaration of crypto_scomp_show Add the __maybe_unused attribute to the crypto_scomp_show() definition and remove the now-unnecessary forward declaration. Signed-off-by: Thorsten Blum Signed-off-by: Herbert Xu --- diff --git a/crypto/scompress.c b/crypto/scompress.c index 1a7ed8ae65b07..70ceb2fe3d7fc 100644 --- a/crypto/scompress.c +++ b/crypto/scompress.c @@ -58,10 +58,8 @@ static int __maybe_unused crypto_scomp_report( sizeof(rscomp), &rscomp); } -static void crypto_scomp_show(struct seq_file *m, struct crypto_alg *alg) - __maybe_unused; - -static void crypto_scomp_show(struct seq_file *m, struct crypto_alg *alg) +static void __maybe_unused crypto_scomp_show(struct seq_file *m, + struct crypto_alg *alg) { seq_puts(m, "type : scomp\n"); }