diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2022-04-17 11:29:42 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2022-04-20 10:51:11 -0700 |
commit | eecb0c4e1125c751ded392456b43a036e8efe1ab (patch) | |
tree | 664660717b4ada5552eac2caa7021ec180e62549 /target/hexagon | |
parent | 54ee5b3da00cdbee836a06a7e6eb319c895f2a57 (diff) | |
download | qemu-eecb0c4e1125c751ded392456b43a036e8efe1ab.zip qemu-eecb0c4e1125c751ded392456b43a036e8efe1ab.tar.gz qemu-eecb0c4e1125c751ded392456b43a036e8efe1ab.tar.bz2 |
target/hexagon: Remove qemu_set_log in hexagon_translate_init
This code appears to be trying to make sure there is a logfile.
But that's already true -- the logfile will either be set by -D,
or will be stderr. In either case, not appropriate here.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220417183019.755276-3-richard.henderson@linaro.org>
Diffstat (limited to 'target/hexagon')
-rw-r--r-- | target/hexagon/translate.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/target/hexagon/translate.c b/target/hexagon/translate.c index b6f541e..98f1452 100644 --- a/target/hexagon/translate.c +++ b/target/hexagon/translate.c @@ -874,12 +874,6 @@ void hexagon_translate_init(void) opcode_init(); - if (HEX_DEBUG) { - if (!qemu_logfile) { - qemu_set_log(qemu_loglevel); - } - } - for (i = 0; i < TOTAL_PER_THREAD_REGS; i++) { hex_gpr[i] = tcg_global_mem_new(cpu_env, offsetof(CPUHexagonState, gpr[i]), |