]> git.proxmox.com Git - mirror_qemu.git/commit - util/aio-posix.c
async: remove unnecessary inc/dec pairs
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 13 Feb 2017 13:52:34 +0000 (14:52 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 21 Feb 2017 11:39:40 +0000 (11:39 +0000)
commitbd451435c02e10dd07247eae188dcca0446cc57a
tree59f33ac2447e049b67a4e836abd5b62a17fb7379
parenta153bf52b37e148f052b0869600877130671a03d
async: remove unnecessary inc/dec pairs

Pull the increment/decrement pair out of aio_bh_poll and into the
callers.

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 20170213135235.12274-18-pbonzini@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
util/aio-posix.c
util/aio-win32.c
util/async.c