From a04ccc22a01cbb8b433bd15967c2474e4036cda4 Mon Sep 17 00:00:00 2001 From: Pavel Emelyanov Date: Wed, 10 Jul 2013 16:06:08 +0400 Subject: [PATCH] dump: Remove unused arg from dump_task_core_all Signed-off-by: Pavel Emelyanov --- cr-dump.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cr-dump.c b/cr-dump.c index f41c4a9cd..f9cde4bb4 100644 --- a/cr-dump.c +++ b/cr-dump.c @@ -630,7 +630,6 @@ static int dump_task_core_all(struct parasite_ctl *ctl, CoreEntry *core, const struct proc_pid_stat *stat, const struct parasite_dump_misc *misc, - struct vm_area_list *vma_area_list, const struct cr_fdset *cr_fdset) { int fd_core = fdset_fd(cr_fdset, CR_FD_CORE); @@ -1503,7 +1502,7 @@ static int dump_one_task(struct pstree_item *item) goto err_cure; } - ret = dump_task_core_all(parasite_ctl, item->core[0], &pps_buf, &misc, &vmas, cr_fdset); + ret = dump_task_core_all(parasite_ctl, item->core[0], &pps_buf, &misc, cr_fdset); if (ret) { pr_err("Dump core (pid: %d) failed with %d\n", pid, ret); goto err_cure;