diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2010-02-04 14:31:51 +0100 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-02-05 18:13:10 +0000 |
commit | a484156557b7595d93facf33089f5bab98d0d92f (patch) | |
tree | 9652bf10040b35a7377a434fb4d4e5cab221c22a /exec.c | |
parent | 0dfbd514460045e3af1ed6805ab97ffedbbd1ab2 (diff) | |
download | qemu-a484156557b7595d93facf33089f5bab98d0d92f.tar.gz qemu-a484156557b7595d93facf33089f5bab98d0d92f.tar.bz2 qemu-a484156557b7595d93facf33089f5bab98d0d92f.zip |
exec.c: dead assignments
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'exec.c')
-rw-r--r-- | exec.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -2489,17 +2489,13 @@ void *qemu_get_ram_ptr(ram_addr_t addr) ram_addr_t qemu_ram_addr_from_host(void *ptr) { RAMBlock *prev; - RAMBlock **prevp; RAMBlock *block; uint8_t *host = ptr; prev = NULL; - prevp = &ram_blocks; block = ram_blocks; while (block && (block->host > host || block->host + block->length <= host)) { - if (prev) - prevp = &prev->next; prev = block; block = block->next; } |