[PATCH 11/44] perf tools: Drop unneeded bitmap_zero() calls

2018-08-09 Thread Arnaldo Carvalho de Melo
From: Yury Norov bitmap_zero() is called after bitmap_alloc() in perf code. But bitmap_alloc() internally uses calloc() which guarantees that allocated area is zeroed. So following bitmap_zero is unneeded. Drop it. This happened because of confusing name for bitmap allocator. It should has name

[PATCH 11/44] perf tools: Drop unneeded bitmap_zero() calls

2018-08-09 Thread Arnaldo Carvalho de Melo
From: Yury Norov bitmap_zero() is called after bitmap_alloc() in perf code. But bitmap_alloc() internally uses calloc() which guarantees that allocated area is zeroed. So following bitmap_zero is unneeded. Drop it. This happened because of confusing name for bitmap allocator. It should has name