diff options
author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2017-07-07 18:29:13 +0300 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2017-07-10 09:57:24 -0500 |
commit | 3e6bb543c208cb1f184c0f3d52e5f4e77e1e8957 (patch) | |
tree | 66f7d84c8569fb8c172abf8e2cfb5f13afcb5671 /nbd/common.c | |
parent | c7b9728250e50bfaf3e3f8e84a6206cd49b07776 (diff) |
nbd/common: nbd_tls_handshake: remove extra TRACE
Error is propagated to the caller, TRACE is not needed.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20170707152918.23086-6-vsementsov@virtuozzo.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'nbd/common.c')
-rw-r--r-- | nbd/common.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/nbd/common.c b/nbd/common.c index 6b5c1b7b02..4dab41e2c0 100644 --- a/nbd/common.c +++ b/nbd/common.c @@ -97,9 +97,7 @@ void nbd_tls_handshake(QIOTask *task, { struct NBDTLSHandshakeData *data = opaque; - if (qio_task_propagate_error(task, &data->error)) { - TRACE("TLS failed %s", error_get_pretty(data->error)); - } + qio_task_propagate_error(task, &data->error); data->complete = true; g_main_loop_quit(data->loop); } |