]> git.proxmox.com Git - mirror_qemu.git/commit - util/qemu-option.c
QemuOpts: Simplify qemu_opts_to_qdict()
authorEric Blake <eblake@redhat.com>
Thu, 27 Apr 2017 21:58:19 +0000 (16:58 -0500)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 9 May 2017 07:14:39 +0000 (09:14 +0200)
commit28934e0c759dae0d78b8b4336841b0287d04b4b6
tree339e30021e10d48ed3540b2d154d180e05d59a4a
parentff6ed7141d87d26eafa2b8e4df969623e40fac49
QemuOpts: Simplify qemu_opts_to_qdict()

Noticed while investigating Coccinelle cleanups. There is no need
for a temporary variable when we can use the new macro to do the
same thing with less typing.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20170427215821.19397-9-eblake@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
util/qemu-option.c