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

[XenARM] [PATCH] free_vcpu_guest_context() shall not return a value



Fix warnings.

Also removed unused variables.

Signed-off-by: Jean-Christophe DUBOIS <jcd@xxxxxxxxxxxxxxx>
---
 xen/arch/arm/xen/arch_domain.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/xen/arch/arm/xen/arch_domain.c b/xen/arch/arm/xen/arch_domain.c
index 74a5406..eb4645d 100644
--- a/xen/arch/arm/xen/arch_domain.c
+++ b/xen/arch/arm/xen/arch_domain.c
@@ -117,7 +117,6 @@ struct vcpu_guest_context *alloc_vcpu_guest_context(void)
 
 void free_vcpu_guest_context(struct vcpu_guest_context *context)
 {
-       return NULL;
 }
 
 
@@ -240,7 +239,6 @@ void trace_domheap_pages(const char *caption, struct 
domain *d, struct list_head
 {
        struct list_head *ent;
        struct page_info  *page;
-       unsigned long     x, y;
 
        /* Use a recursive lock, as we may enter 'free_domheap_page'. */
        spin_lock_recursive(&d->page_alloc_lock);
-- 
1.7.4.1


_______________________________________________
Xen-arm mailing list
Xen-arm@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-arm


 


Rackspace

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