crypto: api - Check CRYPTO_USER instead of NET for report
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 16 Feb 2023 10:35:28 +0000 (18:35 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 14 Mar 2023 09:06:42 +0000 (17:06 +0800)
commitc0f9e01dd266b8a8f674d9f6a388972b81be1641
tree326069abc24c18ed881132bbb7e2f07b7bfc03ae
parent0c0edf6168ce1e02518ba44400b9269a13c3b9e6
crypto: api - Check CRYPTO_USER instead of NET for report

The report function is currently conditionalised on CONFIG_NET.
As it's only used by CONFIG_CRYPTO_USER, conditionalising on that
instead of CONFIG_NET makes more sense.

This gets rid of a rarely used code-path.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/acompress.c
crypto/aead.c
crypto/ahash.c
crypto/akcipher.c
crypto/kpp.c
crypto/rng.c
crypto/scompress.c
crypto/shash.c
crypto/skcipher.c