WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] xen: drop unused function drivers/xen/pcpu.c:sync_pc

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] xen: drop unused function drivers/xen/pcpu.c:sync_pcpu
From: Ian Campbell <ian.campbell@xxxxxxxxxx>
Date: Thu, 3 Dec 2009 22:03:21 +0000
Cc: "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>, Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>, Ian Campbell <ian.campbell@xxxxxxxxxx>, Ian Campbell <ijc@xxxxxxxxxxxxxx>
Delivery-date: Thu, 03 Dec 2009 14:03:52 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
From: Ian Campbell <ijc@xxxxxxxxxxxxxx>

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Cc: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>
Cc: "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>
---
 drivers/xen/pcpu.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/drivers/xen/pcpu.c b/drivers/xen/pcpu.c
index 444a80c..6450c17 100644
--- a/drivers/xen/pcpu.c
+++ b/drivers/xen/pcpu.c
@@ -313,16 +313,6 @@ static struct pcpu *_sync_pcpu(int cpu_num, int *max_id, 
int *result)
        return pcpu;
 }
 
-static struct pcpu *sync_pcpu(int xen_id, int *result)
-{
-       struct pcpu *pcpu;
-
-       get_pcpu_lock();
-       pcpu = _sync_pcpu(xen_id, NULL, result);
-       put_pcpu_lock();
-
-       return pcpu;
-}
 /*
  * Sync dom0's pcpu information with xen hypervisor's
  */
-- 
1.6.5.3


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] xen: drop unused function drivers/xen/pcpu.c:sync_pcpu, Ian Campbell <=