summaryrefslogtreecommitdiff
path: root/drivers/clk/st
diff options
context:
space:
mode:
authorXiao Guangrong <guangrong.xiao@intel.com>2015-07-15 19:25:55 (GMT)
committerPaolo Bonzini <pbonzini@redhat.com>2015-07-23 06:21:48 (GMT)
commit3e5d2fdceda172554e681b68c853bf5d08205bbf (patch)
treef6535b9fa1d44563ea348968b11056492e41c107 /drivers/clk/st
parent10dc331ff5e7e4668c0f0c95b1a873aba9b70826 (diff)
downloadlinux-3e5d2fdceda172554e681b68c853bf5d08205bbf.tar.xz
KVM: MTRR: simplify kvm_mtrr_get_guest_memory_type
kvm_mtrr_get_guest_memory_type never returns -1 which is implied in the current code since if @type = -1 (means no MTRR contains the range), iter.partial_map must be true Simplify the code to indicate this fact Signed-off-by: Xiao Guangrong <guangrong.xiao@intel.com> Tested-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'drivers/clk/st')
0 files changed, 0 insertions, 0 deletions