[PATCH RFC v3 03/23] i386: drop x86_cpu_get_supported_feature_word() forward declaration

Vitaly Kuznetsov posted 23 patches 5 years, 1 month ago
There is a newer version of this series
[PATCH RFC v3 03/23] i386: drop x86_cpu_get_supported_feature_word() forward declaration
Posted by Vitaly Kuznetsov 5 years, 1 month ago
We only use x86_cpu_get_supported_feature_word() after its implementation,
no forward declaration needed.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
---
 target/i386/cpu.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index f37eb7b675f4..bbfdfb8a3f88 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -4179,9 +4179,6 @@ void x86_cpu_change_kvm_default(const char *prop, const char *value)
     assert(pv->prop);
 }
 
-static uint64_t x86_cpu_get_supported_feature_word(FeatureWord w,
-                                                   bool migratable_only);
-
 static bool lmce_supported(void)
 {
     uint64_t mce_cap = 0;
-- 
2.25.4