]> Git Repo - qemu.git/commit - nbd/client.c
nbd/client: Refactor return of nbd_receive_negotiate()
authorEric Blake <[email protected]>
Thu, 17 Jan 2019 19:36:50 +0000 (13:36 -0600)
committerEric Blake <[email protected]>
Mon, 21 Jan 2019 21:49:52 +0000 (15:49 -0600)
commit2b8d0954514192133b0119942edfd7a0c146900d
treec49d745cb16363ec4b51af7ec814d24780684aa9
parent0182c1aed9e6a9314023c7264c5c264da2f4a4ce
nbd/client: Refactor return of nbd_receive_negotiate()

The function could only ever return 0 or -EINVAL; make this
clearer by dropping a useless 'fail:' label.

Signed-off-by: Eric Blake <[email protected]>
Reviewed-by: Richard W.M. Jones <[email protected]>
Reviewed-by: Vladimir Sementsov-Ogievskiy <[email protected]>
Message-Id: <20190117193658[email protected]>
nbd/client.c
This page took 0.025537 seconds and 4 git commands to generate.