[PATCH v2 0/6] Change return type of functions that use VIR_EXPAND_N and never fail to void

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



These functions return value is invariant since VIR_EXPAND_N check
removal in 7d2fd6e, so change its type and remove all dependent checks.

Best regards,
Alexander Kuznetsov

---
v2:
- One function/file per commit.

Alexander Kuznetsov (6):
  access: Change return type of virAccessDriverStackAppend to void
  rpc: Change return type of virNetServerAddProgram to void
  rpc: Change return type of virNetClientAddProgram to void
  rpc: Change return type of virNetClientAddStream to void
  hyperv: Change return type of hypervCheckParams to void
  util: virsysinfo: Change return type of functions that never fail to
    void

 src/access/viraccessdriverstack.c |  4 +---
 src/access/viraccessdriverstack.h |  2 +-
 src/access/viraccessmanager.c     |  5 +----
 src/admin/admin_remote.c          |  3 +--
 src/hyperv/hyperv_wmi.c           | 13 ++++-------
 src/locking/lock_daemon.c         | 10 ++-------
 src/locking/lock_driver_lockd.c   |  3 +--
 src/logging/log_daemon.c          | 10 ++-------
 src/logging/log_manager.c         |  3 +--
 src/lxc/lxc_monitor.c             |  4 +---
 src/remote/remote_daemon.c        | 20 ++++-------------
 src/remote/remote_driver.c        | 17 +++++----------
 src/rpc/gendispatch.pl            |  5 +----
 src/rpc/virnetclient.c            |  6 ++----
 src/rpc/virnetclient.h            |  4 ++--
 src/rpc/virnetserver.c            |  3 +--
 src/rpc/virnetserver.h            |  2 +-
 src/util/virsysinfo.c             | 36 +++++++++++--------------------
 18 files changed, 43 insertions(+), 107 deletions(-)

-- 
2.42.2



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux