On Tue, Sep 03, 2024 at 10:50:07 +0200, Peter Krempa wrote: > The function can return directly rather than setting 'ret' as there's no > cleanup. > > It also doesn't make sense to conditionally compile out the 'break' > statement when checking whether a disk has rawio enabled if > 'CAP_SYS_RAWIO' is _not_ defined as the function will still behave the > same. > > Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx> > --- > src/qemu/qemu_process.c | 9 ++------- > 1 file changed, 2 insertions(+), 7 deletions(-) Reviewed-by: Jiri Denemark <jdenemar@xxxxxxxxxx>