mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
coredump: remove two unused variables
Signed-off-by: Adrian Reber <areber@redhat.com>
This commit is contained in:
committed by
Andrei Vagin
parent
1543527bf9
commit
a029868048
@@ -523,7 +523,6 @@ class coredump_generator:
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
shmid = vma["shmid"]
|
shmid = vma["shmid"]
|
||||||
size = vma["end"] - vma["start"]
|
|
||||||
off = vma["pgoff"] / PAGESIZE
|
off = vma["pgoff"] / PAGESIZE
|
||||||
|
|
||||||
files = self.reg_files
|
files = self.reg_files
|
||||||
@@ -822,8 +821,6 @@ class coredump_generator:
|
|||||||
for vma in mm["vmas"]:
|
for vma in mm["vmas"]:
|
||||||
size = self._get_vma_dump_size(vma)
|
size = self._get_vma_dump_size(vma)
|
||||||
|
|
||||||
chunk = self._gen_mem_chunk(pid, vma, size)
|
|
||||||
|
|
||||||
v = vma_class()
|
v = vma_class()
|
||||||
v.filesz = self._get_vma_dump_size(vma)
|
v.filesz = self._get_vma_dump_size(vma)
|
||||||
v.data = self._gen_mem_chunk(pid, vma, v.filesz)
|
v.data = self._gen_mem_chunk(pid, vma, v.filesz)
|
||||||
|
Reference in New Issue
Block a user