This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


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

To: jm77.ryu@xxxxxxxxxxx
Subject: [XenARM] [PATCH] free_vcpu_guest_context() shall not return a value
From: "Jean-Christophe DUBOIS" <jcd@xxxxxxxxxxxxxxx>
Date: Thu, 8 Sep 2011 23:33:33 +0200
Cc: xen-arm@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 08 Sep 2011 14:33:42 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-arm-request@lists.xensource.com?subject=help>
List-id: Xen ARM development <xen-arm.lists.xensource.com>
List-post: <mailto:xen-arm@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-arm>, <mailto:xen-arm-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-arm>, <mailto:xen-arm-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-arm-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.13.6 (Linux/2.6.38-11-generic; KDE/4.6.2; x86_64; ; )
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'. */

Xen-arm mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [XenARM] [PATCH] free_vcpu_guest_context() shall not return a value, Jean-Christophe DUBOIS <=