]> git.proxmox.com Git - mirror_qemu.git/commit
qapi: Drop useless 'data' member of unions
authorEric Blake <eblake@redhat.com>
Thu, 3 Mar 2016 16:16:52 +0000 (09:16 -0700)
committerMarkus Armbruster <armbru@redhat.com>
Sat, 5 Mar 2016 09:42:06 +0000 (10:42 +0100)
commit48eb62a74fc2d6b0ae9e5f414304a85cfbf33066
tree12e5fa81ad1f1cf455c598a5351c1b4248b38b84
parentb1918fbb1ca080758390a0aee0588e59908d93e2
qapi: Drop useless 'data' member of unions

We started moving away from the use of the 'void *data' member
in the C union corresponding to a QAPI union back in commit
544a373; recent commits have gotten rid of other uses.  Now
that it is completely unused, we can remove the member itself
as well as the FIXME comment.  Update the testsuite to drop the
negative test union-clash-data.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Message-Id: <1457021813-10704-11-git-send-email-eblake@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
scripts/qapi-types.py
tests/Makefile
tests/qapi-schema/union-clash-data.err [deleted file]
tests/qapi-schema/union-clash-data.exit [deleted file]
tests/qapi-schema/union-clash-data.json [deleted file]
tests/qapi-schema/union-clash-data.out [deleted file]