From 40df172dc059d425c1d557c2e21fc931bf3c2251 Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Tue, 14 Jan 2014 15:07:27 +0100 Subject: [PATCH 16/40] memory: cpu_physical_memory_clear_dirty_flag() result is never used RH-Author: Juan Quintela Message-id: <1389712071-23303-17-git-send-email-quintela@redhat.com> Patchwork-id: 56670 O-Subject: [RHEL7 qemu-kvm PATCH 16/40] memory: cpu_physical_memory_clear_dirty_flag() result is never used Bugzilla: 997559 RH-Acked-by: Paolo Bonzini RH-Acked-by: Orit Wasserman RH-Acked-by: Dr. David Alan Gilbert (git) Signed-off-by: Juan Quintela Reviewed-by: Eric Blake Reviewed-by: Orit Wasserman (cherry picked from commit e8a97cafc4108fa964807eb9cbce7eda698f99bb) Signed-off-by: Juan Quintela --- include/exec/memory-internal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Signed-off-by: Miroslav Rezanina --- include/exec/memory-internal.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/exec/memory-internal.h b/include/exec/memory-internal.h index ef5de3e..2c86add 100644 --- a/include/exec/memory-internal.h +++ b/include/exec/memory-internal.h @@ -95,14 +95,14 @@ static inline void cpu_physical_memory_set_dirty(ram_addr_t addr) cpu_physical_memory_set_dirty_flag(addr, DIRTY_MEMORY_CODE); } -static inline int cpu_physical_memory_clear_dirty_flag(ram_addr_t addr, +static inline void cpu_physical_memory_clear_dirty_flag(ram_addr_t addr, unsigned client) { int mask = ~(1 << client); assert(client < DIRTY_MEMORY_NUM); - return ram_list.phys_dirty[addr >> TARGET_PAGE_BITS] &= mask; + ram_list.phys_dirty[addr >> TARGET_PAGE_BITS] &= mask; } static inline void cpu_physical_memory_set_dirty_range(ram_addr_t start, -- 1.7.1