Re: [PATCH] qemu: snapshot: Remove dead code in 'qemuSnapshotDeleteBlockJobRunning'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 14, 2024 at 08:18:15AM +0200, Peter Krempa wrote:
> 'qemuSnapshotDeleteBlockJobIsRunning' returns only 0 and 1. Convert it
> to bool and remove the dead code handling -1 return in the caller.
> 
> Closes: https://gitlab.com/libvirt/libvirt/-/issues/682
> Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
> ---
>  src/qemu/qemu_snapshot.c | 12 ++++--------
>  1 file changed, 4 insertions(+), 8 deletions(-)

Reviewed-by: Pavel Hrdina <phrdina@xxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux