diff options
author | Juan Quintela | 2013-10-02 14:04:19 +0200 |
---|---|---|
committer | Juan Quintela | 2014-01-13 14:04:53 +0100 |
commit | e2da99d582300bb8deecb25d26a179ef5b92e066 (patch) | |
tree | d86e8a437e4d9eebac012589b9c98735b84ae0a6 /include/exec/memory-internal.h | |
parent | bitmap: use long as index (diff) | |
download | qemu-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.h | 4 |
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) |