summaryrefslogtreecommitdiff
path: root/tools/perf/tests/mem2node.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/mem2node.c')
-rw-r--r--tools/perf/tests/mem2node.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/perf/tests/mem2node.c b/tools/perf/tests/mem2node.c
index 0c3c87f86e03..9e9e4d37cc77 100644
--- a/tools/perf/tests/mem2node.c
+++ b/tools/perf/tests/mem2node.c
@@ -24,8 +24,6 @@ static unsigned long *get_bitmap(const char *str, int nbits)
bm = bitmap_alloc(nbits);
if (map && bm) {
- bitmap_zero(bm, nbits);
-
for (i = 0; i < map->nr; i++) {
set_bit(map->map[i], bm);
}