commit | d9faeed854ddc635adebd26923ece7e90c1080c6 | [log] [tgz] |
---|---|---|
author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | Fri Jun 02 18:01:48 2017 +0300 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Jun 15 11:18:39 2017 +0200 |
tree | d8851d84f9591dcec38d9de8f2107ac0a00407dc | |
parent | 7798d3aab981b1ccb29ba7343368a55a32a26d30 [diff] |
nbd/server: get rid of fail: return rc "goto fail" error handling scheme is not needed for just returning error code. Better is return it immediately. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <20170602150150.258222-11-vsementsov@virtuozzo.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>