summaryrefslogtreecommitdiffstats
path: root/include/exec/memory-internal.h
diff options
context:
space:
mode:
authorJuan Quintela2013-10-02 14:04:19 +0200
committerJuan Quintela2014-01-13 14:04:53 +0100
commite2da99d582300bb8deecb25d26a179ef5b92e066 (patch)
treed86e8a437e4d9eebac012589b9c98735b84ae0a6 /include/exec/memory-internal.h
parentbitmap: use long as index (diff)
downloadqemu-e2da99d582300bb8deecb25d26a179ef5b92e066.tar.gz
qemu-e2da99d582300bb8deecb25d26a179ef5b92e066.tar.xz
qemu-e2da99d582300bb8deecb25d26a179ef5b92e066.zip
memory: cpu_physical_memory_set_dirty_flags() result is never used
So return void. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Orit Wasserman <owasserm@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'include/exec/memory-internal.h')
-rw-r--r--include/exec/memory-internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/exec/memory-internal.h b/include/exec/memory-internal.h
index d0e063392a..c71a5e62f6 100644
--- a/include/exec/memory-internal.h
+++ b/include/exec/memory-internal.h
@@ -70,10 +70,10 @@ static inline int cpu_physical_memory_get_dirty(ram_addr_t start,
return ret;
}
-static inline int cpu_physical_memory_set_dirty_flags(ram_addr_t addr,
+static inline void cpu_physical_memory_set_dirty_flags(ram_addr_t addr,
int dirty_flags)
{
- return ram_list.phys_dirty[addr >> TARGET_PAGE_BITS] |= dirty_flags;
+ ram_list.phys_dirty[addr >> TARGET_PAGE_BITS] |= dirty_flags;
}
static inline void cpu_physical_memory_set_dirty(ram_addr_t addr)