mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
tcg: Remove TCGV_UNUSED* and TCGV_IS_UNUSED*
These are now trivial sets and tests against NULL. Unwrap. Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
1f5940e464
commit
f764718d0c
18 changed files with 123 additions and 144 deletions
|
@ -5922,7 +5922,7 @@ void sparc_tcg_init(void)
|
|||
*rtl[i].ptr = tcg_global_mem_new(cpu_env, rtl[i].off, rtl[i].name);
|
||||
}
|
||||
|
||||
TCGV_UNUSED(cpu_regs[0]);
|
||||
cpu_regs[0] = NULL;
|
||||
for (i = 1; i < 8; ++i) {
|
||||
cpu_regs[i] = tcg_global_mem_new(cpu_env,
|
||||
offsetof(CPUSPARCState, gregs[i]),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue