1
0
mirror of https://github.com/google/cpu_features.git synced 2025-04-27 23:22:31 +02:00

Remove unused function (#343)

This is causing the build to fail with stricter warnings.
`error: no previous prototype for function 'CpuFeatures_IsHwCapCpuidSupported' [-Werror,-Wmissing-prototypes]`
This commit is contained in:
Guillaume Chatelet 2023-09-21 15:11:28 +02:00 committed by GitHub
parent 77d27cb108
commit ec7d390a90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -153,9 +153,5 @@ const char *CpuFeatures_GetBasePlatformPointer(void) {
return (const char *)GetHardwareCapabilitiesFor(AT_BASE_PLATFORM);
}
bool CpuFeatures_IsHwCapCpuidSupported(void) {
return GetElfHwcapFromGetauxval(AARCH64_HWCAP_CPUID);
}
#endif // CPU_FEATURES_TEST
#endif // defined(CPU_FEATURES_OS_LINUX) || defined(CPU_FEATURES_OS_ANDROID)