mirror of
https://github.com/torvalds/linux.git
synced 2026-01-25 07:47:50 +00:00
lib/crypto: chacha: Remove unused function chacha_is_arch_optimized()
chacha_is_arch_optimized() is no longer used, so remove it. Reviewed-by: Ard Biesheuvel <ardb@kernel.org> Link: https://lore.kernel.org/r/20250827151131.27733-4-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@kernel.org>
This commit is contained in:
@@ -119,13 +119,4 @@ static inline void chacha_zeroize_state(struct chacha_state *state)
|
||||
memzero_explicit(state, sizeof(*state));
|
||||
}
|
||||
|
||||
#if IS_ENABLED(CONFIG_CRYPTO_ARCH_HAVE_LIB_CHACHA)
|
||||
bool chacha_is_arch_optimized(void);
|
||||
#else
|
||||
static inline bool chacha_is_arch_optimized(void)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _CRYPTO_CHACHA_H */
|
||||
|
||||
Reference in New Issue
Block a user