Re: [PATCH v1 19/59] block/ssh.c: remove unneeded labels

2020-01-06 Thread Richard W.M. Jones
On Mon, Jan 06, 2020 at 03:23:45PM -0300, Daniel Henrique Barboza wrote: > The 'out' labels for check_host_key_knownhosts() and authenticate() > functions can be removed and, instead, call 'return' with the > appropriate return value. The 'ret' integer from both functions > could also be removed. >

[PATCH v1 19/59] block/ssh.c: remove unneeded labels

2020-01-06 Thread Daniel Henrique Barboza
The 'out' labels for check_host_key_knownhosts() and authenticate() functions can be removed and, instead, call 'return' with the appropriate return value. The 'ret' integer from both functions could also be removed. CC: Richard W.M. Jones CC: qemu-bl...@nongnu.org Signed-off-by: Daniel Henrique