nbd/server: drop old-style negotiation
commit7f7dfe2a53446072c136d349e3150c84d322b2bc
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Wed, 3 Oct 2018 17:02:28 +0000 (3 20:02 +0300)
committerEric Blake <eblake@redhat.com>
Wed, 3 Oct 2018 20:52:32 +0000 (3 15:52 -0500)
tree8eae57a7bde08b41f89ab0b34a16b4e93afce041
parentf5cd0bb5174dcd6e8c160d7992fb89f09f264ef0
nbd/server: drop old-style negotiation

After the previous commit, nbd_client_new's first parameter is always
NULL. Let's drop it with all corresponding old-style negotiation code
path which is unreachable now.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20181003170228.95973-3-vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[eblake: re-wrap short line]
Signed-off-by: Eric Blake <eblake@redhat.com>
blockdev-nbd.c
include/block/nbd.h
nbd/server.c
qemu-nbd.c