]> xenbits.xensource.com Git - libvirt.git/commitdiff
hostdev: Fix indentation
authorAndrea Bolognani <abologna@redhat.com>
Wed, 24 Feb 2016 12:44:09 +0000 (13:44 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 8 Mar 2016 09:44:01 +0000 (10:44 +0100)
src/util/virhostdev.c

index 5be61cdfa4ec5c78398d6df2e4a9b5946e5079da..48a44bc2a23a3ec0c12c957796b0099c6e58a1e9 100644 (file)
@@ -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",