diff options
Diffstat (limited to 'hw/loader.c')
-rw-r--r-- | hw/loader.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/hw/loader.c b/hw/loader.c index 79a6f95186..49ac1fa1cc 100644 --- a/hw/loader.c +++ b/hw/loader.c @@ -733,11 +733,6 @@ int rom_copy(uint8_t *dest, target_phys_addr_t addr, size_t size) s = rom->data; l = rom->romsize; - if (rom->addr < addr) { - d = dest; - s += (addr - rom->addr); - l -= (addr - rom->addr); - } if ((d + l) > (dest + size)) { l = dest - d; } |