diff options
author | Juan Quintela <quintela@redhat.com> | 2013-10-02 14:04:19 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2014-01-13 14:04:53 +0100 |
commit | e2da99d582300bb8deecb25d26a179ef5b92e066 (patch) | |
tree | d86e8a437e4d9eebac012589b9c98735b84ae0a6 /include/exec | |
parent | 9c22687ea8c1a2644a41a683ff0a291adc9a657c (diff) | |
download | qemu-e2da99d582300bb8deecb25d26a179ef5b92e066.zip qemu-e2da99d582300bb8deecb25d26a179ef5b92e066.tar.gz qemu-e2da99d582300bb8deecb25d26a179ef5b92e066.tar.bz2 |
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')
-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 d0e0633..c71a5e6 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) |