io: remove Error parameter from QIOTask thread worker
commit59de517d8d482416a079da7ee8344187d513d4a4
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 11 Aug 2016 16:38:07 +0000 (11 17:38 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 23 Jan 2017 15:32:19 +0000 (23 15:32 +0000)
treef24cf5539b7780c8a794bcba796cb2ab4e78c37f
parent60e705c51c66373f78e536e0462744a610c27cf6
io: remove Error parameter from QIOTask thread worker

Now that task objects have a directly associated error,
there's no need for an an Error **errp parameter to
the QIOTask thread worker function. It already has a
QIOTask object, so can directly set the error on it.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
include/io/task.h
io/channel-socket.c
io/task.c
tests/test-io-task.c