diff options
author | Kevin Wolf <kwolf@redhat.com> | 2016-11-22 12:49:49 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2017-01-09 13:30:52 +0100 |
commit | 7c37f941d028e2a1bf350ffb292684f2e1a292c7 (patch) | |
tree | 55b5daa89370e0d340c702a3cce8c73326f21a4a /qemu-timer.c | |
parent | a7e159025ed439011a47d56af5f34729bbb7247c (diff) | |
download | qemu-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 'qemu-timer.c')
0 files changed, 0 insertions, 0 deletions