perf tools: Drop unneeded bitmap_zero() calls
[linux-2.6-microblaze.git] / tools / perf / tests / mem2node.c
index 0c3c87f..9e9e4d3 100644 (file)
@@ -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);
                }