[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] target-i386: Remove unused model_features_t str
From: |
Igor Mammedov |
Subject: |
Re: [Qemu-devel] [PATCH] target-i386: Remove unused model_features_t struct |
Date: |
Fri, 31 Oct 2014 09:55:35 +0100 |
On Thu, 30 Oct 2014 17:12:33 -0200
Eduardo Habkost <address@hidden> wrote:
> The struct is not used anymore and can be removed.
>
> Signed-off-by: Eduardo Habkost <address@hidden>
> ---
> 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 <address@hidden>