Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <thorsten.blum@linux.dev>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Thorsten Blum and committed by
Herbert Xu
3e8541f9 97282e2c

+2 -4
+2 -4
crypto/scompress.c
··· 58 58 sizeof(rscomp), &rscomp); 59 59 } 60 60 61 - static void crypto_scomp_show(struct seq_file *m, struct crypto_alg *alg) 62 - __maybe_unused; 63 - 64 - static void crypto_scomp_show(struct seq_file *m, struct crypto_alg *alg) 61 + static void __maybe_unused crypto_scomp_show(struct seq_file *m, 62 + struct crypto_alg *alg) 65 63 { 66 64 seq_puts(m, "type : scomp\n"); 67 65 }