[PATCH 1/2] makedumpfile: Delete useless codes
Zhou Wenjian
zhouwj-fnst at cn.fujitsu.com
Wed Jun 24 23:51:01 PDT 2015
From: Zhou wenjian <zhouwj-fnst at cn.fujitsu.com>
free_bitmap_buffer() in create_dump_bitmap() includes free_bitmap2_buffer().
So delete free_bitmap2_buffer().
Signed-off-by: Zhou wenjian <zhouwj-fnst at cn.fujitsu.com>
---
makedumpfile.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/makedumpfile.c b/makedumpfile.c
index cc71f20..7f2949c 100644
--- a/makedumpfile.c
+++ b/makedumpfile.c
@@ -5933,9 +5933,6 @@ create_dump_bitmap(void)
info->num_dumpable = get_num_dumpable_cyclic();
- if (!info->flag_elf_dumpfile)
- free_bitmap2_buffer();
-
} else {
struct cycle cycle = {0};
first_cycle(0, info->max_mapnr, &cycle);
--
1.7.1
More information about the kexec
mailing list