From 8d006d4bc2ab4f72877d8bd47cba9aa8d24b54d0 Mon Sep 17 00:00:00 2001 From: Eduardo Habkost Date: Mon, 22 Apr 2019 18:04:48 -0300 Subject: accel: Remove unused AccelClass::available field The field is not used anymore, we can remove it. Signed-off-by: Eduardo Habkost Message-Id: <20190422210448.2488-4-ehabkost@redhat.com> Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé [on mingw64] Reviewed-by: Thomas Huth Signed-off-by: Thomas Huth --- accel/accel.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'accel') diff --git a/accel/accel.c b/accel/accel.c index 454fef9d92..5fa31717b4 100644 --- a/accel/accel.c +++ b/accel/accel.c @@ -107,11 +107,6 @@ void configure_accelerator(MachineState *ms, const char *progname) if (!acc) { continue; } - if (acc->available && !acc->available()) { - printf("%s not supported for this target\n", - acc->name); - continue; - } ret = accel_init_machine(acc, ms); if (ret < 0) { init_failed = true; -- cgit v1.2.3-55-g7522