mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
accel/tcg: Remove pointless initialization of cflags_next_tb
cflags_next_tb is always re-initialized in the CPU Reset() handler in cpu_common_reset_hold(), no need to initialize it in cpu_common_initfn(). Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20240427155714.53669-13-philmd@linaro.org>
This commit is contained in:
parent
e92a883ffe
commit
de5a43192b
1 changed files with 0 additions and 1 deletions
|
@ -249,7 +249,6 @@ static void cpu_common_initfn(Object *obj)
|
|||
/* user-mode doesn't have configurable SMP topology */
|
||||
/* the default value is changed by qemu_init_vcpu() for system-mode */
|
||||
cpu->nr_threads = 1;
|
||||
cpu->cflags_next_tb = -1;
|
||||
|
||||
/* allocate storage for thread info, initialise condition variables */
|
||||
cpu->thread = g_new0(QemuThread, 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue