diff options
author | Markus Armbruster <armbru@redhat.com> | 2018-06-14 21:14:36 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2018-06-15 14:49:44 +0200 |
commit | f1b34a248e9785e8cc0d28a1685d2cf4460bb256 (patch) | |
tree | a366c76efda2a62e8a612fc0f98181aa32c4345c /linux-headers | |
parent | eb0e0f7d3d4a9c585421d05b19ca71df5d69fc47 (diff) | |
download | qemu-f1b34a248e9785e8cc0d28a1685d2cf4460bb256.zip qemu-f1b34a248e9785e8cc0d28a1685d2cf4460bb256.tar.gz qemu-f1b34a248e9785e8cc0d28a1685d2cf4460bb256.tar.bz2 |
block-qdict: Tweak qdict_flatten_qdict(), qdict_flatten_qlist()
qdict_flatten_qdict() skips copying scalars from @qdict to @target
when the two are the same. Fair enough, but it uses a non-obvious
test for "same". Replace it by the obvious one. While there, improve
comments.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'linux-headers')
0 files changed, 0 insertions, 0 deletions