diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2015-11-06 20:11:21 -0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-12-17 15:24:34 +0100 |
commit | 2f3a2bb15e665f23c885985226c4147db4ea35db (patch) | |
tree | 3eafedd886c07a5ed8b39e683328592e1af5ca62 /kvm-all.c | |
parent | fc3e7665d7fe1b2f842441d250d7afec26b8a910 (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 'kvm-all.c')
0 files changed, 0 insertions, 0 deletions