io: simplify qio_channel_attach_aio_context
commit8f7168b34323ceec4d5faff797e7bcf1be57e6be
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 26 May 2017 09:36:41 +0000 (26 11:36 +0200)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 26 May 2017 09:38:08 +0000 (26 10:38 +0100)
tree1684a76a7ead31df79c863bec69473adddad124b
parent9964e96dc9999cf7f7c936ee854a795415d19b60
io: simplify qio_channel_attach_aio_context

If properly preceded by qio_channel_detach_aio_context, this function really
has nothing to do except setting ioc->ctx.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
io/channel.c