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

[Xen-changelog] [xen-unstable] libxl: remove an unused numainfo parameter


  • To: xen-changelog@xxxxxxxxxxxxxxxxxxx
  • From: Xen patchbot-unstable <patchbot@xxxxxxx>
  • Date: Tue, 07 Aug 2012 20:33:17 +0000
  • Delivery-date: Tue, 07 Aug 2012 20:33:22 +0000
  • List-id: "Change log for Mercurial \(receive only\)" <xen-changelog.lists.xen.org>

# HG changeset patch
# User Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
# Date 1343984054 -3600
# Node ID aa93fe2d5a60770c697a44fc9635918417b1f5b5
# Parent  646a1deabd189fca948385fc0c0c1d28a7c63664
libxl: remove an unused numainfo parameter

Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Acked-by: Dario Faggioli <dario.faggioli@xxxxxxxxxx>
Committed-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---


diff -r 646a1deabd18 -r aa93fe2d5a60 tools/libxl/libxl_numa.c
--- a/tools/libxl/libxl_numa.c  Fri Aug 03 09:54:13 2012 +0100
+++ b/tools/libxl/libxl_numa.c  Fri Aug 03 09:54:14 2012 +0100
@@ -231,7 +231,7 @@ static int nodemap_to_nr_vcpus(libxl__gc
  * candidates with just one node).
  */
 static int count_cpus_per_node(libxl_cputopology *tinfo, int nr_cpus,
-                               libxl_numainfo *ninfo, int nr_nodes)
+                               int nr_nodes)
 {
     int cpus_per_node = 0;
     int j, i;
@@ -340,7 +340,7 @@ int libxl__get_numa_candidate(libxl__gc 
     if (!min_nodes) {
         int cpus_per_node;
 
-        cpus_per_node = count_cpus_per_node(tinfo, nr_cpus, ninfo, nr_nodes);
+        cpus_per_node = count_cpus_per_node(tinfo, nr_cpus, nr_nodes);
         if (cpus_per_node == 0)
             min_nodes = 1;
         else

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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