Message ID | 1414696353-23605-1-git-send-email-ehabkost@redhat.com |
---|---|
State | New |
Headers | show |
On Thu, 30 Oct 2014 17:12:33 -0200 Eduardo Habkost <ehabkost@redhat.com> wrote: > The struct is not used anymore and can be removed. > > Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> > --- > target-i386/cpu.c | 8 -------- > 1 file changed, 8 deletions(-) > > diff --git a/target-i386/cpu.c b/target-i386/cpu.c > index e194601..e4ccee1 100644 > --- a/target-i386/cpu.c > +++ b/target-i386/cpu.c > @@ -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. > */ Reviewed-by: Igor Mammedov <imammedo@redhat.com>
30.10.2014 22:12, Eduardo Habkost wrote:
> The struct is not used anymore and can be removed.
Applied to -trivial, thank you!
/mjt
diff --git a/target-i386/cpu.c b/target-i386/cpu.c index e194601..e4ccee1 100644 --- a/target-i386/cpu.c +++ b/target-i386/cpu.c @@ -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. */
The struct is not used anymore and can be removed. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> --- target-i386/cpu.c | 8 -------- 1 file changed, 8 deletions(-)