Return the negated value of accel_initialised is meaningless,
and the caller vl doesn't check it.
Signed-off-by: Wei Jiangang <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>
return ret;
}
-int configure_accelerator(MachineState *ms)
+void configure_accelerator(MachineState *ms)
{
const char *p;
char buf[10];
if (init_failed) {
fprintf(stderr, "Back to %s accelerator.\n", acc->name);
}
-
- return !accel_initialised;
}
extern int tcg_tb_size;
-int configure_accelerator(MachineState *ms);
+void configure_accelerator(MachineState *ms);
#endif