aboutsummaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>2014-05-12 01:13:47 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2014-06-17 16:07:37 +0200
commit3fb5bf5730b90c08d5d1c027900efae210d9b326 (patch)
tree735802368f31f36bab4705648d38479b156d4e12 /exec.c
parent4dc56152237f61694fa42675a78ffd14a509df98 (diff)
memory: Simplify mr_add_subregion() if-else
This if else is not needed. The previous call to memory_region_add (whether _overlap or not) will always set priority and may_overlap to desired values. And its not possible to get here without having called memory_region_add_subregion due to the null guard on parent. So we can just directly call memory_region_add_subregion_common. Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'exec.c')
0 files changed, 0 insertions, 0 deletions