aboutsummaryrefslogtreecommitdiff
path: root/device_tree.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2016-11-22 12:49:49 +0100
committerKevin Wolf <kwolf@redhat.com>2017-01-09 13:30:52 +0100
commit7c37f941d028e2a1bf350ffb292684f2e1a292c7 (patch)
tree55b5daa89370e0d340c702a3cce8c73326f21a4a /device_tree.c
parenta7e159025ed439011a47d56af5f34729bbb7247c (diff)
downloadqemu-7c37f941d028e2a1bf350ffb292684f2e1a292c7.zip
qemu-7c37f941d028e2a1bf350ffb292684f2e1a292c7.tar.gz
qemu-7c37f941d028e2a1bf350ffb292684f2e1a292c7.tar.bz2
quorum: Clean up quorum_aio_get()
Make sure that all fields of the new QuorumAIOCB are zeroed when the function returns even without explicitly setting them. This will protect us when new fields are added, removes some explicit zero assignment and makes the code a little nicer to read. Suggested-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Alberto Garcia <berto@igalia.com>
Diffstat (limited to 'device_tree.c')
0 files changed, 0 insertions, 0 deletions