qemu-e2k/nbd
Vladimir Sementsov-Ogievskiy 76ff081d91 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>
2017-07-10 09:57:24 -05:00
..
client.c nbd: make nbd_drop public 2017-06-15 11:04:06 +02:00
common.c nbd: make nbd_drop public 2017-06-15 11:04:06 +02:00
Makefile.objs
nbd-internal.h nbd: make nbd_drop public 2017-06-15 11:04:06 +02:00
server.c nbd/server: refactor nbd_negotiate 2017-07-10 09:57:24 -05:00