target-i386: Remove unused model_features_t struct
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.
Signed-off-by Eduardo Habkost <[email protected]>--- target-i386/cpu.c | 8 -------- 1 file changed, 8 deletions(-)target-i386/cpu.c +0
-1@@ -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. */
Reviewed-by Igor Mammedov <[email protected]>
PATCH 1/1 target-i386: Remove unused model_features_t struct
The struct is not used anymore and can be removed.
Signed-off-by Eduardo Habkost <[email protected]>
--- target-i386/cpu.c | 8 -------- 1 file changed, 8 deletions(-)
target-i386/cpu.c +0 -8
@@ -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
Michael Tokarev
AppliedQuoted 1 line · Eduardo Habkost
The struct is not used anymore and can be removed.
Applied to -trivial, thank you!
/mjt