summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/archrandom.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2020-01-10 17:54:14 +0300
committerTheodore Ts'o <tytso@mit.edu>2020-01-25 20:18:50 +0300
commitcbac004995a0ce8453bdc555fab579e2bdb842a6 (patch)
treecca78b79119f7db96dc7e064eeac191236159019 /arch/powerpc/include/asm/archrandom.h
parent5f2ed7f5b99b54389b74e53309677831ac9cb9d7 (diff)
downloadlinux-cbac004995a0ce8453bdc555fab579e2bdb842a6.tar.xz
powerpc: Remove arch_has_random, arch_has_random_seed
These symbols are currently part of the generic archrandom.h interface, but are currently unused and can be removed. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20200110145422.49141-3-broonie@kernel.org Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'arch/powerpc/include/asm/archrandom.h')
-rw-r--r--arch/powerpc/include/asm/archrandom.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/powerpc/include/asm/archrandom.h b/arch/powerpc/include/asm/archrandom.h
index a09595f00cab..2fa7cdfbba24 100644
--- a/arch/powerpc/include/asm/archrandom.h
+++ b/arch/powerpc/include/asm/archrandom.h
@@ -34,16 +34,6 @@ static inline int arch_get_random_seed_int(unsigned int *v)
return rc;
}
-
-static inline int arch_has_random(void)
-{
- return 0;
-}
-
-static inline int arch_has_random_seed(void)
-{
- return !!ppc_md.get_random_seed;
-}
#endif /* CONFIG_ARCH_RANDOM */
#ifdef CONFIG_PPC_POWERNV