aio-posix: simplify aio_epoll_update
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 8 Nov 2016 13:55:24 +0000 (14:55 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 8 Nov 2016 17:09:14 +0000 (17:09 +0000)
commit35dd66e23ce96283723de58e10d2877ae2be4a1b
tree57b4dd691f189874e7bd57bd9a8af2578b1e9981
parent36173ec5f1d3baee62504affd761199693c14c82
aio-posix: simplify aio_epoll_update

Extract common code out of the "if".

Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 20161108135524.25927-3-pbonzini@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
aio-posix.c