Skip to contentSkip to conversation

target-i386: Remove unused model_features_t struct

PATCH Applied Eduardo Habkost 3 participants 3 messages Oct 31, 2014 – Nov 2, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 target-i386: Remove unused model_features_t struct

The struct is not used anymore and can be removed.

---
 target-i386/cpu.c | 8 --------
 1 file changed, 8 deletions(-)
target-i386/cpu.c +0 -8
index e194601..e4ccee1 100644
@@ -442,14 +442,6 @@ const char *get_register_name_32(unsigned int reg)
     return x86_reg_info_32[reg].name;
 }
 
-/* collects per-function cpuid data
- */
-typedef struct model_features_t {
-    uint32_t *guest_feat;
-    uint32_t *host_feat;
-    FeatureWord feat_word;
-} model_features_t;
-
 /* KVM-specific features that are automatically added to all CPU models
  * when KVM is enabled.
  */
Signature · 1 line
1.9.3
Reviewed-by on v1 1/1
#1 lore raw
Quoted 16 lines · On Thu, 30 Oct 2014 17:12:33 -0200 Eduardo Habkost <[email protected]> wrote:

The struct is not used anymore and can be removed.

---
 target-i386/cpu.c | 8 --------
 1 file changed, 8 deletions(-)
target-i386/cpu.c +0 -1
index e194601..e4ccee1 100644
@@ -442,14 +442,6 @@ const char *get_register_name_32(unsigned int reg)
     return x86_reg_info_32[reg].name;
 }
 
-/* collects per-function cpuid data

target-i386/cpu.c const char *get_register_name_32(unsigned int reg) · line 447

Quoted 10 lines
target-i386/cpu.c +0 -7
- */
-typedef struct model_features_t {
-    uint32_t *guest_feat;
-    uint32_t *host_feat;
-    FeatureWord feat_word;
-} model_features_t;
-
 /* KVM-specific features that are automatically added to all CPU models
  * when KVM is enabled.
  */