aboutsummaryrefslogtreecommitdiff
path: root/migration/unix.c
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2015-11-06 20:11:21 -0200
committerPaolo Bonzini <pbonzini@redhat.com>2015-12-17 15:24:34 +0100
commit2f3a2bb15e665f23c885985226c4147db4ea35db (patch)
tree3eafedd886c07a5ed8b39e683328592e1af5ca62 /migration/unix.c
parentfc3e7665d7fe1b2f842441d250d7afec26b8a910 (diff)
exec: Remove unnecessary RAM_FILE flag
The only code that sets RAMBlock.fd is file_ram_alloc(), and the only code that calls file_ram_alloc() sets the RAM_FILE flag. That means the flag is always set when RAMBlock.fd >= 0, and the munmap() call at reclaim_ramblock() is dead code that never runs. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Message-Id: <1446847881-9385-1-git-send-email-ehabkost@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'migration/unix.c')
0 files changed, 0 insertions, 0 deletions