]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virStorageBackendISCSIDirectSetAuth: Refactor cleanup
authorPeter Krempa <pkrempa@redhat.com>
Thu, 8 Dec 2022 10:13:53 +0000 (11:13 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 1 Feb 2023 08:16:17 +0000 (09:16 +0100)
commit2811fdaf3e033168032976efedea0f24f7f04ca8
tree69aef81edc4ee8803892e2daf26e94b90ab0562c
parentedd644e7a8a710020ea1c97c19448d91e07126b2
virStorageBackendISCSIDirectSetAuth: Refactor cleanup

Use automatic pointer for 'conn' and remove the 'cleanup' label and
'ret' variable.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
src/storage/storage_backend_iscsi_direct.c