Signed-off-by: Petr Holasek <pholasek@xxxxxxxxxx> --- numactl-2.0.8-rc4/libnuma.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/numactl-2.0.8-rc4/libnuma.c b/numactl-2.0.8-rc4/libnuma.c index 9c9a1de..a319bcc 100755 --- a/numactl-2.0.8-rc4/libnuma.c +++ b/numactl-2.0.8-rc4/libnuma.c @@ -1320,7 +1320,7 @@ __asm__(".symver numa_node_to_cpus_v1,numa_node_to_cpus@libnuma_1.1"); int numa_node_to_cpus_v2(int node, struct bitmask *buffer) { - int err = 0, bufferlen; + int err = 0; int nnodes = numa_max_node(); char fn[64], *line = NULL; FILE *f; @@ -1330,7 +1330,6 @@ numa_node_to_cpus_v2(int node, struct bitmask *buffer) if (!node_cpu_mask_v2) init_node_cpu_mask_v2(); - bufferlen = numa_bitmask_nbytes(buffer); if (node > nnodes) { errno = ERANGE; return -1; -- 1.7.11.4 -- To unsubscribe from this list: send the line "unsubscribe linux-numa" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html