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

Re: [Xen-devel] [PATCH 10/11] libxl: remove an unused numainfo parameter



On Wed, 2012-08-01 at 17:24 +0100, Ian Jackson wrote:
> Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>

Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

CCing Dario.

> ---
>  tools/libxl/libxl_numa.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/tools/libxl/libxl_numa.c b/tools/libxl/libxl_numa.c
> index 5301ec4..2c8e59f 100644
> --- a/tools/libxl/libxl_numa.c
> +++ b/tools/libxl/libxl_numa.c
> @@ -231,7 +231,7 @@ static int nodemap_to_nr_vcpus(libxl__gc *gc, 
> libxl_cputopology *tinfo,
>   * 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 *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-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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