libvirt/src/storage
Laine Stump 85c8c29214 remove unnecessary cleanup labels and unused return variables
After converting all DIR* to g_autoptr(DIR), many cleanup: labels
ended up just having "return ret", and every place that set ret would
just immediately goto cleanup. Remove the cleanup label and its
return, and just return the set value immediately, thus eliminating
the need for the return variable itself.

Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
2020-11-02 22:01:36 -05:00
..
meson.build src/storage/meson: fix vir_storage_file_gluster module dependencies 2020-09-08 16:14:49 +02:00
parthelper.c parthelper: Don't leak @canonical_path 2020-10-22 13:47:23 +02:00
storage_backend_disk.c storage: use g_new0 instead of VIR_ALLOC* 2020-10-01 12:34:13 +02:00
storage_backend_disk.h
storage_backend_fs.c storage: use g_new0 instead of VIR_ALLOC* 2020-10-01 12:34:13 +02:00
storage_backend_fs.h
storage_backend_gluster.c storage: use g_new0 instead of VIR_ALLOC* 2020-10-01 12:34:13 +02:00
storage_backend_gluster.h
storage_backend_iscsi_direct.c Fix incorrect g_new0 conversions 2020-10-06 14:26:43 +02:00
storage_backend_iscsi_direct.h
storage_backend_iscsi.c change DIR* int g_autoptr(DIR) where appropriate 2020-11-02 22:01:36 -05:00
storage_backend_iscsi.h
storage_backend_logical.c storage: use g_new0 instead of VIR_ALLOC* 2020-10-01 12:34:13 +02:00
storage_backend_logical.h
storage_backend_mpath.c storage: use g_new0 instead of VIR_ALLOC* 2020-10-01 12:34:13 +02:00
storage_backend_mpath.h
storage_backend_rbd.c storage: use g_new0 instead of VIR_ALLOC* 2020-10-01 12:34:13 +02:00
storage_backend_rbd.h
storage_backend_scsi.c storage: use g_new0 instead of VIR_ALLOC* 2020-10-01 12:34:13 +02:00
storage_backend_scsi.h
storage_backend_sheepdog_priv.h
storage_backend_sheepdog.c storage: use g_new0 instead of VIR_ALLOC* 2020-10-01 12:34:13 +02:00
storage_backend_sheepdog.h
storage_backend_vstorage.c storage: fix vstorage backend build 2020-07-13 09:27:42 +03:00
storage_backend_vstorage.h
storage_backend_zfs.c storage: use g_new0 instead of VIR_ALLOC* 2020-10-01 12:34:13 +02:00
storage_backend_zfs.h
storage_backend.c util: use host module suffix when loading drivers 2020-08-26 10:30:18 +02:00
storage_backend.h
storage_driver.c storage: use g_new0 instead of VIR_ALLOC* 2020-10-01 12:34:13 +02:00
storage_driver.h
storage_file_fs.c storage: use g_new0 instead of VIR_ALLOC* 2020-10-01 12:34:13 +02:00
storage_file_fs.h
storage_file_gluster.c storage: use g_new0 instead of VIR_ALLOC* 2020-10-01 12:34:13 +02:00
storage_file_gluster.h
storage_util.c remove unnecessary cleanup labels and unused return variables 2020-11-02 22:01:36 -05:00
storage_util.h
virtstoraged.init.in
virtstoraged.service.in systemd: Move timeout from service files to sysconf files 2020-04-03 11:50:50 +02:00
virtstoraged.sysconf systemd: Move timeout from service files to sysconf files 2020-04-03 11:50:50 +02:00