mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
arm: remove dead assignments, spotted by clang analyzer
Value stored is never read. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
7f5b7d3e2c
commit
22ed1d3478
14 changed files with 31 additions and 39 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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue