summaryrefslogtreecommitdiff
path: root/accel.c
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2014-09-26 17:45:27 -0300
committerPaolo Bonzini <pbonzini@redhat.com>2014-10-04 08:59:15 +0200
commit32592e112fc9da1e4f6b48896e6473c49043d5dd (patch)
tree2641f1d4bd885e435a16d753338448671e2c69c4 /accel.c
parent3a6ce5147f1273a5eec6a82fac9c8e6d085c1247 (diff)
downloadqemu-32592e112fc9da1e4f6b48896e6473c49043d5dd.tar.gz
qemu-32592e112fc9da1e4f6b48896e6473c49043d5dd.tar.bz2
qemu-32592e112fc9da1e4f6b48896e6473c49043d5dd.zip
accel: Remove tcg_available() function
As the function always return 1, it is not needed anymore. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'accel.c')
-rw-r--r--accel.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/accel.c b/accel.c
index 2cf47337af..0f3fceeb7c 100644
--- a/accel.c
+++ b/accel.c
@@ -119,7 +119,6 @@ static void tcg_accel_class_init(ObjectClass *oc, void *data)
{
AccelClass *ac = ACCEL_CLASS(oc);
ac->name = "tcg";
- ac->available = tcg_available;
ac->init = tcg_init;
ac->allowed = &tcg_allowed;
}