diff mbox

target-i386: Remove unused model_features_t struct

Message ID 1414696353-23605-1-git-send-email-ehabkost@redhat.com
State New
Headers show

Commit Message

Eduardo Habkost Oct. 30, 2014, 7:12 p.m. UTC
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(-)

Comments

Igor Mammedov Oct. 31, 2014, 8:55 a.m. UTC | #1
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>
Michael Tokarev Nov. 2, 2014, 4:57 a.m. UTC | #2
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 mbox

Patch

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.
  */