summaryrefslogtreecommitdiffstats
path: root/drivers/soc/dove/pmu.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2022-11-13 16:12:35 -0800
committerHerbert Xu <herbert@gondor.apana.org.au>2022-11-25 17:39:18 +0800
commit06bd9c967eaac5484c31c3dc6dfbef6183819508 (patch)
tree69ac4ce973d29a0f6720b3cad1f6eb8cad82ce0c /drivers/soc/dove/pmu.c
parent9cadd73adef1e1d53ea100f28e3e258698b92418 (diff)
downloadlinux-06bd9c967eaac5484c31c3dc6dfbef6183819508.tar.bz2
crypto: api - compile out crypto_boot_test_finished when tests disabled
The crypto_boot_test_finished static key is unnecessary when self-tests are disabled in the kconfig, so optimize it out accordingly, along with the entirety of crypto_start_tests(). This mainly avoids the overhead of an unnecessary static_branch_enable() on every boot. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/soc/dove/pmu.c')
0 files changed, 0 insertions, 0 deletions