[PATCH 2/9] maint: remove whitespace from closing parentheses

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

 



To allow tightening syntax check.
---
 src/qemu/qemu_command.c | 3 +--
 src/vz/vz_driver.c      | 3 +--
 src/vz/vz_sdk.c         | 3 +--
 3 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
index 48be399..cbd40ea 100644
--- a/src/qemu/qemu_command.c
+++ b/src/qemu/qemu_command.c
@@ -4178,8 +4178,7 @@ qemuBuildVideoCommandLine(virCommandPtr cmd,
          (primaryVideoType == VIR_DOMAIN_VIDEO_TYPE_QXL &&
              virQEMUCapsGet(qemuCaps, QEMU_CAPS_DEVICE_QXL_VGA)) ||
          (primaryVideoType == VIR_DOMAIN_VIDEO_TYPE_VIRTIO &&
-             virQEMUCapsGet(qemuCaps, QEMU_CAPS_DEVICE_VIRTIO_GPU)))
-        ) {
+             virQEMUCapsGet(qemuCaps, QEMU_CAPS_DEVICE_VIRTIO_GPU)))) {
         for (i = 0; i < def->nvideos; i++) {
             char *str;
             virCommandAddArg(cmd, "-device");
diff --git a/src/vz/vz_driver.c b/src/vz/vz_driver.c
index bb96fa0..67017c2 100644
--- a/src/vz/vz_driver.c
+++ b/src/vz/vz_driver.c
@@ -321,8 +321,7 @@ vzDriverObjNew(void)
         !(driver->domainEventState = virObjectEventStateNew()) ||
         (vzInitVersion(driver) < 0) ||
         (prlsdkConnect(driver) < 0) ||
-        (prlsdkSubscribeToPCSEvents(driver) < 0)
-        ) {
+        (prlsdkSubscribeToPCSEvents(driver) < 0)) {
         virObjectUnref(driver);
         return NULL;
     }
diff --git a/src/vz/vz_sdk.c b/src/vz/vz_sdk.c
index 99c5d4a..586c656 100644
--- a/src/vz/vz_sdk.c
+++ b/src/vz/vz_sdk.c
@@ -2266,8 +2266,7 @@ prlsdkCheckUnsupportedParams(PRL_HANDLE sdkdom, virDomainDefPtr def)
             !((def->inputs[0]->type == VIR_DOMAIN_INPUT_TYPE_MOUSE &&
                def->inputs[1]->type == VIR_DOMAIN_INPUT_TYPE_KBD) ||
               (def->inputs[0]->type == VIR_DOMAIN_INPUT_TYPE_KBD &&
-               def->inputs[1]->type == VIR_DOMAIN_INPUT_TYPE_MOUSE))
-           ) {
+               def->inputs[1]->type == VIR_DOMAIN_INPUT_TYPE_MOUSE))) {
 
             virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
                            _("unsupported input device configuration"));
-- 
2.7.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[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]