On Tue, Jan 28, 2020 at 11:31:21 +0100, Ján Tomko wrote: > All the callees return either 0 or -1 so there is no need > for propagating the value. And we bail on the first error. > > Remove the variable to make the function simpler. > > Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx> > --- > src/qemu/qemu_extdevice.c | 12 +++++------- > 1 file changed, 5 insertions(+), 7 deletions(-) Reviewed-by: Peter Krempa <pkrempa@xxxxxxxxxx>