]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: remove unneeded usage of vshConnectionUsability()
authorPeter Krempa <pkrempa@redhat.com>
Fri, 24 Aug 2012 11:57:01 +0000 (13:57 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 31 Aug 2012 14:22:22 +0000 (16:22 +0200)
commit67f83cd497f277775d7fa519176d0e89546d668b
tree2c08a45d48eed2e07014975c39706e11e8a1634b
parent70e608918ebf4251ee7124184a0512b968a80035
virsh: remove unneeded usage of vshConnectionUsability()

Now that vshCommandRun() checks for the connection automaticaly, remove
all of the redundant checks in the code.

vshConnectionUsability() no longer needs to be exported and this patch
marks it static.
13 files changed:
tools/virsh-domain-monitor.c
tools/virsh-domain.c
tools/virsh-host.c
tools/virsh-interface.c
tools/virsh-network.c
tools/virsh-nodedev.c
tools/virsh-nwfilter.c
tools/virsh-pool.c
tools/virsh-secret.c
tools/virsh-snapshot.c
tools/virsh-volume.c
tools/virsh.c
tools/virsh.h