Ian Campbell
2009-Dec-03 22:03 UTC
[Xen-devel] [PATCH] xen: drop unused function drivers/xen/pcpu.c:sync_pcpu
From: Ian Campbell <ijc@hellion.org.uk>
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Cc: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: "Jiang, Yunhong" <yunhong.jiang@intel.com>
---
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@lists.xensource.com
http://lists.xensource.com/xen-devel