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 src/storage: use #pragma once in headers 2019-06-19 17:12:31 +02:00
storage_backend_fs.c storage: use g_new0 instead of VIR_ALLOC* 2020-10-01 12:34:13 +02:00
storage_backend_fs.h src/storage: use #pragma once in headers 2019-06-19 17:12:31 +02:00
storage_backend_gluster.c storage: use g_new0 instead of VIR_ALLOC* 2020-10-01 12:34:13 +02:00
storage_backend_gluster.h src/storage: use #pragma once in headers 2019-06-19 17:12:31 +02:00
storage_backend_iscsi_direct.c Fix incorrect g_new0 conversions 2020-10-06 14:26:43 +02:00
storage_backend_iscsi_direct.h src/storage: use #pragma once in headers 2019-06-19 17:12:31 +02:00
storage_backend_iscsi.c change DIR* int g_autoptr(DIR) where appropriate 2020-11-02 22:01:36 -05:00
storage_backend_iscsi.h src/storage: use #pragma once in headers 2019-06-19 17:12:31 +02:00
storage_backend_logical.c storage: use g_new0 instead of VIR_ALLOC* 2020-10-01 12:34:13 +02:00
storage_backend_logical.h src/storage: use #pragma once in headers 2019-06-19 17:12:31 +02:00
storage_backend_mpath.c storage: use g_new0 instead of VIR_ALLOC* 2020-10-01 12:34:13 +02:00
storage_backend_mpath.h src/storage: use #pragma once in headers 2019-06-19 17:12:31 +02:00
storage_backend_rbd.c storage: use g_new0 instead of VIR_ALLOC* 2020-10-01 12:34:13 +02:00
storage_backend_rbd.h src/storage: use #pragma once in headers 2019-06-19 17:12:31 +02:00
storage_backend_scsi.c storage: use g_new0 instead of VIR_ALLOC* 2020-10-01 12:34:13 +02:00
storage_backend_scsi.h src/storage: use #pragma once in headers 2019-06-19 17:12:31 +02:00
storage_backend_sheepdog_priv.h src/storage: use #pragma once in headers 2019-06-19 17:12:31 +02:00
storage_backend_sheepdog.c storage: use g_new0 instead of VIR_ALLOC* 2020-10-01 12:34:13 +02:00
storage_backend_sheepdog.h src/storage: use #pragma once in headers 2019-06-19 17:12:31 +02:00
storage_backend_vstorage.c storage: fix vstorage backend build 2020-07-13 09:27:42 +03:00
storage_backend_vstorage.h src/storage: use #pragma once in headers 2019-06-19 17:12:31 +02:00
storage_backend_zfs.c storage: use g_new0 instead of VIR_ALLOC* 2020-10-01 12:34:13 +02:00
storage_backend_zfs.h src/storage: use #pragma once in headers 2019-06-19 17:12:31 +02:00
storage_backend.c util: use host module suffix when loading drivers 2020-08-26 10:30:18 +02:00
storage_backend.h src/storage: use #pragma once in headers 2019-06-19 17:12:31 +02:00
storage_driver.c storage: use g_new0 instead of VIR_ALLOC* 2020-10-01 12:34:13 +02:00
storage_driver.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
storage_file_fs.c storage: use g_new0 instead of VIR_ALLOC* 2020-10-01 12:34:13 +02:00
storage_file_fs.h src/storage: use #pragma once in headers 2019-06-19 17:12:31 +02:00
storage_file_gluster.c storage: use g_new0 instead of VIR_ALLOC* 2020-10-01 12:34:13 +02:00
storage_file_gluster.h src/storage: use #pragma once in headers 2019-06-19 17:12:31 +02:00
storage_util.c remove unnecessary cleanup labels and unused return variables 2020-11-02 22:01:36 -05:00
storage_util.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
virtstoraged.init.in configure: Provide OpenRC scripts for sub-daemons 2019-12-16 10:11:22 +01:00
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