]> git.proxmox.com Git - mirror_qemu.git/commit
qapi-dealloc: Reduce use outside of generated code
authorEric Blake <eblake@redhat.com>
Tue, 23 Feb 2016 21:14:33 +0000 (14:14 -0700)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 4 Mar 2016 16:16:32 +0000 (17:16 +0100)
commit96a1616c85ae62fc13aff85a34effb4b2477b7ce
tree3a87d13bf2cc96c9a9fce68be7adb3c642606981
parente55250c6cb4cf836f9188095a21c85f663aac06b
qapi-dealloc: Reduce use outside of generated code

No need to roll our own use of the dealloc visitors when we can
just directly use the qapi_free_FOO() functions that do what we
want in one line.

In net.c, inline net_visit() into its remaining lone caller.

After this patch, test-visitor-serialization.c is the only
non-generated file that needs to use a dealloc visitor, because
it is testing low level aspects of the visitor interface.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <1456262075-3311-2-git-send-email-eblake@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
hw/acpi/core.c
net/net.c
numa.c
tests/test-opts-visitor.c