[PATCH] KVM: arm64: Remove unused TRNG_NO_ENTROPY
Will Deacon
will at kernel.org
Wed Oct 27 00:37:07 PDT 2021
On Tue, Oct 26, 2021 at 05:09:13PM -0400, Qian Cai wrote:
> TRNG_NO_ENTROPY was unused when introduced and now. This is also caught by
> GCC (W=2):
>
> arch/arm64/kvm/trng.c:17: warning: macro "TRNG_NO_ENTROPY" is not used [-Wunused-macros]
> 17 | #define TRNG_NO_ENTROPY ((unsigned long)-3)
This return value is defined by the TRNG SMCCC spec (Arm DEN0098) so I'd
rather just keep it around given that it's not causing any problems.
Will
More information about the linux-arm-kernel
mailing list