libvirt/src/locking
Michal Privoznik fe65e9c8b5 lib: Drop needless ret variables
There are few places where a return variable is introduced (ret
or retval), but then is never changed and is then passed to
return. Well, we can return the value that the variable is
initialized to directly.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2020-05-05 13:08:53 +02:00
..
domain_lock.c Use G_N_ELEMENTS instead of ARRAY_CARDINALITY 2019-10-15 16:14:19 +02:00
domain_lock.h src/locking: use #pragma once in headers 2019-06-19 17:12:30 +02:00
libvirt_lockd.aug Check for tabs in augeas files 2018-01-31 15:19:26 +00:00
libvirt_sanlock.aug locking: Add io_timeout to sanlock 2015-11-18 10:56:56 +01:00
lock_daemon_config.c locking: Don't check the output of virGetUserConfigDirectory() 2019-12-20 09:38:43 +01:00
lock_daemon_config.h src/locking: use #pragma once in headers 2019-06-19 17:12:30 +02:00
lock_daemon_dispatch.c locking: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:57 +02:00
lock_daemon_dispatch.h src/locking: use #pragma once in headers 2019-06-19 17:12:30 +02:00
lock_daemon.c lib: Drop needless ret variables 2020-05-05 13:08:53 +02:00
lock_daemon.h src/locking: use #pragma once in headers 2019-06-19 17:12:30 +02:00
lock_driver_lockd.c virsh: include virutil.h where used 2020-02-24 23:15:50 +01:00
lock_driver_lockd.h src/locking: use #pragma once in headers 2019-06-19 17:12:30 +02:00
lock_driver_nop.c locking: use G_GNUC_UNUSED 2019-10-15 11:25:23 +02:00
lock_driver_nop.h src/locking: use #pragma once in headers 2019-06-19 17:12:30 +02:00
lock_driver_sanlock.c virsh: include virutil.h where used 2020-02-24 23:15:50 +01:00
lock_driver.h src/locking: use #pragma once in headers 2019-06-19 17:12:30 +02:00
lock_manager.c locking: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
lock_manager.h src/locking: use #pragma once in headers 2019-06-19 17:12:30 +02:00
lock_protocol.x Fix make check with gcc version 5 2016-01-18 15:19:21 +01:00
lockd.conf
Makefile.inc.am fix paths to openrc.init.in files 2020-02-23 12:21:02 +01:00
sanlock_helper.c Use G_N_ELEMENTS instead of ARRAY_CARDINALITY 2019-10-15 16:14:19 +02:00
sanlock.conf locking: Fix documentation on how automatic sanlock leases are stored 2016-12-19 17:28:41 +01:00
test_libvirt_lockd.aug.in build: use @CONFIG@ instead of ::CONFIG:: in augeas tests 2019-08-09 14:06:31 +01:00
test_libvirt_sanlock.aug.in build: use @CONFIG@ instead of ::CONFIG:: in augeas tests 2019-08-09 14:06:31 +01:00
test_virtlockd.aug.in build: use @CONFIG@ instead of ::CONFIG:: in augeas tests 2019-08-09 14:06:31 +01:00
virtlockd-admin.socket.in systemd: honour $runstatedir in socket unit files 2019-08-27 10:23:05 +01:00
virtlockd.aug rpc: remove remains of obsolete log_buffer_size config parameter 2018-03-23 10:44:35 +00:00
virtlockd.conf util: drop support for stack traces with logging 2019-10-18 16:25:17 +01:00
virtlockd.init.in Add virtlockd and virtlogd init scripts 2020-02-22 17:11:54 +01:00
virtlockd.service.in build: don't hardcode /etc in the config related files 2019-08-09 14:06:31 +01:00
virtlockd.socket.in systemd: honour $runstatedir in socket unit files 2019-08-27 10:23:05 +01:00
virtlockd.sysconf systemd: Tweak existing sysconf files 2020-04-03 11:50:35 +02:00