Remove unused function: webrtc::GetCPUInfoNoASM()
Bug: webrtc:42228262
Change-Id: I1d0afcee6132c5ee0c41813423d77534d4f71739
No-Iwyu: Avoid unrelated changes
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/393580
Reviewed-by: Henrik Andreassson <henrika@webrtc.org>
Auto-Submit: Fredrik Solenberg <solenberg@webrtc.org>
Commit-Queue: Fredrik Solenberg <solenberg@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#44761}
diff --git a/system_wrappers/include/cpu_features_wrapper.h b/system_wrappers/include/cpu_features_wrapper.h
index 254e2d8..d73b12a 100644
--- a/system_wrappers/include/cpu_features_wrapper.h
+++ b/system_wrappers/include/cpu_features_wrapper.h
@@ -11,7 +11,7 @@
#ifndef SYSTEM_WRAPPERS_INCLUDE_CPU_FEATURES_WRAPPER_H_
#define SYSTEM_WRAPPERS_INCLUDE_CPU_FEATURES_WRAPPER_H_
-#include <stdint.h>
+#include <cstdint>
namespace webrtc {
@@ -29,9 +29,6 @@
// Returns true if the CPU supports the feature.
int GetCPUInfo(CPUFeature feature);
-// No CPU feature is available => straight C path.
-int GetCPUInfoNoASM(CPUFeature feature);
-
// Return the features in an ARM device.
// It detects the features in the hardware platform, and returns supported
// values in the above enum definition as a bitmask.
diff --git a/system_wrappers/source/cpu_features.cc b/system_wrappers/source/cpu_features.cc
index 4a6170c..3050ad8 100644
--- a/system_wrappers/source/cpu_features.cc
+++ b/system_wrappers/source/cpu_features.cc
@@ -19,12 +19,6 @@
namespace webrtc {
-// No CPU feature is available => straight C path.
-int GetCPUInfoNoASM(CPUFeature feature) {
- (void)feature;
- return 0;
-}
-
#if defined(WEBRTC_ARCH_X86_FAMILY)
#if defined(WEBRTC_ENABLE_AVX2)