Skip to content

Commit

Permalink
nbd/common: nbd_tls_handshake: remove extra TRACE
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vladimir Sementsov-Ogievskiy authored and ebblake committed Jul 10, 2017
1 parent c7b9728 commit 3e6bb54
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions nbd/common.c
Expand Up @@ -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);
}

0 comments on commit 3e6bb54

Please sign in to comment.