[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c252bf24-9161-f980-61e7-8c7f39ce9ab9@redhat.com>
Date:   Fri, 14 Dec 2018 11:27:04 +0100
From:   Paolo Bonzini <pbonzini@...hat.com>
To:     Peng Hao <peng.hao2@....com.cn>, rkrcmar@...hat.com
Cc:     x86@...nel.org, kvm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [RESEND PATCH] kvm: svm: remove unused struct definition
On 14/12/18 09:18, Peng Hao wrote:
> structure svm_init_data is never used. So remove it.
> 
> Signed-off-by: Peng Hao <peng.hao2@....com.cn>
> ---
>  arch/x86/kvm/svm.c | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
> index 61ccfb1..5c7dc8b 100644
> --- a/arch/x86/kvm/svm.c
> +++ b/arch/x86/kvm/svm.c
> @@ -675,11 +675,6 @@ struct svm_cpu_data {
>  
>  static DEFINE_PER_CPU(struct svm_cpu_data *, svm_data);
>  
> -struct svm_init_data {
> -	int cpu;
> -	int r;
> -};
> -
>  static const u32 msrpm_ranges[] = {0, 0xc0000000, 0xc0010000};
>  
>  #define NUM_MSR_MAPS ARRAY_SIZE(msrpm_ranges)
> 
Queued, thanks.
Paolo
Powered by blists - more mailing lists
 
