diff options
author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2017-07-07 18:29:10 +0300 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2017-07-10 09:57:24 -0500 |
commit | 76ff081d91d215a4f91849653bdc2ebd8f657183 (patch) | |
tree | 670d672353b63c12dbc8f9c9fbe102deca135e50 /bt-vhci.c | |
parent | 1e120ffead85d08d41160065e0d8cf86400b1c9e (diff) |
nbd/server: refactor nbd_negotiate
Combine two successive "if (oldStyle) {...} else {...}" into one.
Block "if (client->tlscreds)" under "if (oldStyle)" is unreachable,
as we have "oldStyle = client->exp != NULL && !client->tlscreds;".
So, delete this block.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20170707152918.23086-3-vsementsov@virtuozzo.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'bt-vhci.c')
0 files changed, 0 insertions, 0 deletions