These functions return value is invariant since 18f3771, so change
its type and remove all dependent checks.
Best regards,
Alexander Kuznetsov
---
v2:
- One function per commit.
Alexander Kuznetsov (4):
util: Change return type of virPCIDeviceSetUsedBy to void
util: Change return type of virSCSIDeviceSetUsedBy to void
util: Change return type of virSCSIVHostDeviceSetUsedBy to void
logging: Change return type of virLogDaemonConfigFilePat to void
src/hypervisor/virhostdev.c | 21 +++++++--------------
src/logging/log_daemon.c | 8 ++------
src/logging/log_daemon_config.c | 4 +---
src/logging/log_daemon_config.h | 2 +-
src/util/virpci.c | 4 +---
src/util/virpci.h | 2 +-
src/util/virscsi.c | 4 +---
src/util/virscsi.h | 2 +-
src/util/virscsivhost.c | 6 ++----
src/util/virscsivhost.h | 2 +-
tests/virscsitest.c | 6 ++----
11 files changed, 20 insertions(+), 41 deletions(-)
--
2.42.2