arch/x86/rdrand.c: Remove unneeded 'else'

'else' is not needed after a 'break' or 'return'.

Change-Id: Ib7bdefb0027a35de42f6a665b98f9e5a2791061f
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33331
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Vlado Cibic
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Elyes HAOUAS 2019-06-09 12:57:12 +02:00 committed by Patrick Georgi
parent 698d83a7c8
commit 77b3a91bba
1 changed files with 0 additions and 1 deletions

View File

@ -75,7 +75,6 @@ int get_random_number_64(uint64_t *rand)
#if ENV_X86_64 #if ENV_X86_64
if (rdrand_64(rand)) if (rdrand_64(rand))
return 0; return 0;
else
#endif #endif
if (rdrand_32(&rand_high) && rdrand_32(&rand_low)) { if (rdrand_32(&rand_high) && rdrand_32(&rand_low)) {
*rand = ((uint64_t)rand_high << 32) | *rand = ((uint64_t)rand_high << 32) |