[PATCH 15/15] virBitmapNew: Don't check return value

Ján Tomko jtomko at redhat.com
Fri Oct 2 10:57:54 UTC 2020


On a Friday in 2020, Peter Krempa wrote:
>Remove return value check from all callers.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/conf/capabilities.c          |  7 ++-----
> src/conf/checkpoint_conf.c       |  3 +--
> src/conf/domain_addr.c           |  6 ++----
> src/conf/domain_conf.c           | 12 ++++--------
> src/conf/node_device_conf.c      |  6 ++----
> src/conf/storage_conf.c          |  3 +--
> src/conf/virnetworkobj.c         |  3 +--
> src/libxl/libxl_capabilities.c   |  4 ----
> src/libxl/libxl_driver.c         |  6 ++----
> src/lxc/lxc_controller.c         |  3 ---
> src/qemu/qemu_capabilities.c     |  3 +--
> src/qemu/qemu_conf.c             |  3 +--
> src/qemu/qemu_domain_address.c   |  5 +----
> src/qemu/qemu_driver.c           | 11 +++--------
> src/qemu/qemu_hotplug.c          |  3 +--
> src/qemu/qemu_migration_cookie.c |  5 ++---
> src/qemu/qemu_migration_params.c | 12 ++----------
> src/qemu/qemu_monitor.c          |  3 +--
> src/qemu/qemu_namespace.c        |  5 ++---
> src/qemu/qemu_process.c          |  5 +----
> src/qemu/qemu_slirp.c            |  4 +---
> src/qemu/qemu_snapshot.c         |  3 +--
> src/test/test_driver.c           | 12 +++---------
> src/util/virbitmap.c             | 12 ++----------
> src/util/vircommand.c            |  3 +--
> src/util/virdnsmasq.c            |  7 +------
> src/util/virhostcpu.c            | 10 +++-------
> src/util/virnetdev.c             |  3 +--
> src/util/virnuma.c               |  6 ++----
> src/util/virportallocator.c      |  6 +-----
> src/util/virprocess.c            |  6 ++----
> src/util/virresctrl.c            | 10 +---------
> src/util/virstoragefile.c        |  3 +--
> src/vmx/vmx.c                    |  2 --
> src/vz/vz_sdk.c                  |  3 +--
> tests/qemumonitorjsontest.c      |  3 ---
> tests/testutils.c                | 11 ++---------
> tests/virbitmaptest.c            | 12 ++----------
> tools/virsh-domain.c             |  9 +++------
> 39 files changed, 58 insertions(+), 175 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20201002/6b8ec4c8/attachment-0001.sig>


More information about the libvir-list mailing list