mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 23:52:08 +02:00
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>
This commit is contained in:
parent
97282e2cde
commit
3e8541f98d
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user