aboutsummaryrefslogtreecommitdiff
path: root/accel
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2019-04-22 18:04:48 -0300
committerThomas Huth <thuth@redhat.com>2019-05-02 16:56:33 +0200
commit8d006d4bc2ab4f72877d8bd47cba9aa8d24b54d0 (patch)
treee397ba37ab917841af565eb2950cb40915615888 /accel
parenta08052bc248632f8c16ef0c5b93e0611543e89cc (diff)
accel: Remove unused AccelClass::available field
The field is not used anymore, we can remove it. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Message-Id: <20190422210448.2488-4-ehabkost@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com> [on mingw64] Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'accel')
-rw-r--r--accel/accel.c5
1 files changed, 0 insertions, 5 deletions
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;