target/hexagon: Remove CPUClass:has_work() handler
Remove as unreachable code. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Brian Cain <brian.cain@oss.qualcomm.com> Message-Id: <20250125170125.32855-8-philmd@linaro.org>
This commit is contained in:
parent
6c8d41eab6
commit
7ec1c63421
@ -262,11 +262,6 @@ static void hexagon_cpu_synchronize_from_tb(CPUState *cs,
|
|||||||
cpu_env(cs)->gpr[HEX_REG_PC] = tb->pc;
|
cpu_env(cs)->gpr[HEX_REG_PC] = tb->pc;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool hexagon_cpu_has_work(CPUState *cs)
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void hexagon_restore_state_to_opc(CPUState *cs,
|
static void hexagon_restore_state_to_opc(CPUState *cs,
|
||||||
const TranslationBlock *tb,
|
const TranslationBlock *tb,
|
||||||
const uint64_t *data)
|
const uint64_t *data)
|
||||||
@ -346,7 +341,6 @@ static void hexagon_cpu_class_init(ObjectClass *c, void *data)
|
|||||||
&mcc->parent_phases);
|
&mcc->parent_phases);
|
||||||
|
|
||||||
cc->class_by_name = hexagon_cpu_class_by_name;
|
cc->class_by_name = hexagon_cpu_class_by_name;
|
||||||
cc->has_work = hexagon_cpu_has_work;
|
|
||||||
cc->dump_state = hexagon_dump_state;
|
cc->dump_state = hexagon_dump_state;
|
||||||
cc->set_pc = hexagon_cpu_set_pc;
|
cc->set_pc = hexagon_cpu_set_pc;
|
||||||
cc->get_pc = hexagon_cpu_get_pc;
|
cc->get_pc = hexagon_cpu_get_pc;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user