diff options
author | Ovidiu Panait <ovidiu.panait.oss@gmail.com> | 2025-04-25 15:45:16 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2025-04-28 19:45:26 +0800 |
commit | 031bc3e8b9e230df0c5380eb4a8767558c4c1a25 (patch) | |
tree | 44cc55f7b37040cf3fa3d92ba2df3f70e97c68bc /lib/parser.c | |
parent | 8e379e8fb83f426a60a3ae0827743ebf881f6fde (diff) |
crypto: sun8i-ce-cipher - use IS_ENABLED() checks for debugfs stats
Add IS_ENABLED(CONFIG_CRYPTO_DEV_SUN8I_CE_DEBUG) checks before the
fallback counter updates to make sure the code is not included when
debugfs statistics support is not enabled.
Also, drop the existing ifdef guards, since 'struct sun8i_ce_alg_template'
is always defined, even with CONFIG_CRYPTO_DEV_SUN8I_CE_DEBUG disabled.
Signed-off-by: Ovidiu Panait <ovidiu.panait.oss@gmail.com>
Tested-by: Corentin LABBE <clabbe.montjoie@gmail.com>
Acked-by: Corentin LABBE <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions