diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-04-25 19:31:06 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-04-25 19:31:06 +0000 |
commit | 22ed1d34789b184aaaa28c1e4620ce4467744cec (patch) | |
tree | 1402cbaab355bffa77a60e37c74ef54c3032b45d /hw/palm.c | |
parent | 7f5b7d3e2c19c0aa52dcac0a10d473c7fd142450 (diff) |
arm: remove dead assignments, spotted by clang analyzer
Value stored is never read.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/palm.c')
-rw-r--r-- | hw/palm.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -206,7 +206,6 @@ static void palmte_init(ram_addr_t ram_size, static uint32_t cs1val = 0x0000e1a0; static uint32_t cs2val = 0x0000e1a0; static uint32_t cs3val = 0xe1a0e1a0; - ram_addr_t phys_flash; int rom_size, rom_loaded = 0; DisplayState *ds = get_displaystate(); @@ -214,7 +213,7 @@ static void palmte_init(ram_addr_t ram_size, /* External Flash (EMIFS) */ cpu_register_physical_memory(OMAP_CS0_BASE, flash_size, - (phys_flash = qemu_ram_alloc(flash_size)) | IO_MEM_ROM); + qemu_ram_alloc(flash_size) | IO_MEM_ROM); io = cpu_register_io_memory(static_readfn, static_writefn, &cs0val); cpu_register_physical_memory(OMAP_CS0_BASE + flash_size, |