[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] x86/HVM: remove dead code


  • To: Jan Beulich <JBeulich@xxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxx>
  • From: Keir Fraser <keir@xxxxxxx>
  • Date: Thu, 06 Dec 2012 13:04:59 +0000
  • Delivery-date: Thu, 06 Dec 2012 13:05:25 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>
  • Thread-index: Ac3Tskuf+4xgmAkKEkKdovw2fJ3hCw==
  • Thread-topic: [Xen-devel] [PATCH] x86/HVM: remove dead code

On 06/12/2012 12:55, "Jan Beulich" <JBeulich@xxxxxxxx> wrote:

> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

Acked-by: Keir Fraser <keir@xxxxxxx>

> --- a/xen/arch/x86/hvm/hvm.c
> +++ b/xen/arch/x86/hvm/hvm.c
> @@ -2460,9 +2460,7 @@ static enum hvm_copy_result __hvm_copy(
>              return HVMCOPY_unhandleable;
>          }
>          if ( !page )
> -        {
>              return HVMCOPY_bad_gfn_to_mfn;
> -        }
>  
>          p = (char *)__map_domain_page(page) + (addr & ~PAGE_MASK);
>  
> @@ -2560,11 +2558,7 @@ static enum hvm_copy_result __hvm_clear(
>              return HVMCOPY_unhandleable;
>          }
>          if ( !page )
> -        {
> -            if ( page )
> -                put_page(page);
>              return HVMCOPY_bad_gfn_to_mfn;
> -        }
>  
>          p = (char *)__map_domain_page(page) + (addr & ~PAGE_MASK);
>  
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.