refactor: Drop unneeded workarounds aimed to silence unused warning

All of the touched symbols are indeed used regardless of any macros.
This commit is contained in:
Hennadii Stepanov 2022-04-05 13:23:12 +02:00
parent 0baf6aded5
commit 55e0fc8df9
No known key found for this signature in database
GPG key ID: 410108112E7EA81F

View file

@ -590,10 +590,6 @@ std::string SHA256AutoDetect()
bool have_x86_shani = false;
bool enabled_avx = false;
(void)AVXEnabled;
(void)have_sse4;
(void)have_avx;
(void)have_xsave;
(void)have_avx2;
(void)have_x86_shani;
(void)enabled_avx;
@ -641,7 +637,7 @@ std::string SHA256AutoDetect()
ret += ",avx2(8way)";
}
#endif
#endif
#endif // defined(USE_ASM) && defined(HAVE_GETCPUID)
#if defined(ENABLE_ARM_SHANI) && !defined(BUILD_BITCOIN_INTERNAL)
bool have_arm_shani = false;