summaryrefslogtreecommitdiffstats
path: root/include/sysemu/accel.h
diff options
context:
space:
mode:
authorWainer dos Santos Moschetta2019-05-31 18:53:34 +0200
committerEduardo Habkost2019-06-07 20:28:46 +0200
commit754f1dbcf1d4d543167e3212366055761c30bcf4 (patch)
tree9d42dff349ad99a40d2015bb1d6270b8cc2fe86d /include/sysemu/accel.h
parentnuma: improve cpu hotplug error message with a wrong node-id (diff)
downloadqemu-754f1dbcf1d4d543167e3212366055761c30bcf4.tar.gz
qemu-754f1dbcf1d4d543167e3212366055761c30bcf4.tar.xz
qemu-754f1dbcf1d4d543167e3212366055761c30bcf4.zip
accel: Remove unused AccelClass::opt_name attribute
The AccelType type was converted to AccelClass QOM object on b14a0b7469f, and the original data type had a field to store the option name which in turn was used to search an accelerator. The lookup method (accel_find) changed too, making the option field unnecessary but it became AccelClass::opt_name despite that. Therefore, and given that none accelerator implementation sets AccelClass::opt_name, let's remove this attribute. Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com> Message-Id: <20190531165334.20403-2-wainersm@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'include/sysemu/accel.h')
-rw-r--r--include/sysemu/accel.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/sysemu/accel.h b/include/sysemu/accel.h
index 70e9e2f2a1..81293cdb08 100644
--- a/include/sysemu/accel.h
+++ b/include/sysemu/accel.h
@@ -36,7 +36,6 @@ typedef struct AccelClass {
ObjectClass parent_class;
/*< public >*/
- const char *opt_name;
const char *name;
int (*init_machine)(MachineState *ms);
void (*setup_post)(MachineState *ms, AccelState *accel);