Re: [PATCH 09/24] hostdev: Fix indentation

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

 



On 03/07/2016 12:24 PM, Andrea Bolognani wrote:
---
  src/util/virhostdev.c | 7 ++++---
  1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/util/virhostdev.c b/src/util/virhostdev.c
index 5be61cd..48a44bc 100644
--- a/src/util/virhostdev.c
+++ b/src/util/virhostdev.c
@@ -833,9 +833,10 @@ virHostdevReAttachPCIDevices(virHostdevManagerPtr hostdev_mgr,
              virPCIDeviceGetUsedBy(activeDev, &usedby_drvname, &usedby_domname);
              if (STRNEQ_NULLABLE(drv_name, usedby_drvname) ||
                  STRNEQ_NULLABLE(dom_name, usedby_domname)) {
-                    virPCIDeviceListDel(pcidevs, dev);
-                    continue;
-                }
+
+                virPCIDeviceListDel(pcidevs, dev);
+                continue;
+            }
          }
VIR_DEBUG("Removing PCI device %s from active list",

ACK :-)

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