Skip to content

Commit ec7d390

Browse files
authored
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]`
1 parent 77d27cb commit ec7d390

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/hwcaps_linux_or_android.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,5 @@ const char *CpuFeatures_GetBasePlatformPointer(void) {
153153
return (const char *)GetHardwareCapabilitiesFor(AT_BASE_PLATFORM);
154154
}
155155

156-
bool CpuFeatures_IsHwCapCpuidSupported(void) {
157-
return GetElfHwcapFromGetauxval(AARCH64_HWCAP_CPUID);
158-
}
159-
160156
#endif // CPU_FEATURES_TEST
161157
#endif // defined(CPU_FEATURES_OS_LINUX) || defined(CPU_FEATURES_OS_ANDROID)

0 commit comments

Comments
 (0)