[PATCH] util: whitespace change to virNetDevOpenvswitchAddPort

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

 



The indentation on the final lines of the function was off by four
spaces, making me wonder for a second if there was something
missing. (There wasn't.)
---

Pushing under trivial rule.

 src/util/virnetdevopenvswitch.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/util/virnetdevopenvswitch.c b/src/util/virnetdevopenvswitch.c
index e427c94..9d6d924 100644
--- a/src/util/virnetdevopenvswitch.c
+++ b/src/util/virnetdevopenvswitch.c
@@ -95,14 +95,14 @@ int virNetDevOpenvswitchAddPort(const char *brname, const char *ifname,
                              ifname, brname);
         goto cleanup;
     }
-    ret = 0;
 
-    cleanup:
-        VIR_FREE(attachedmac_ex_id);
-        VIR_FREE(ifaceid_ex_id);
-        VIR_FREE(profile_ex_id);
-        virCommandFree(cmd);
-        return ret;
+    ret = 0;
+cleanup:
+    VIR_FREE(attachedmac_ex_id);
+    VIR_FREE(ifaceid_ex_id);
+    VIR_FREE(profile_ex_id);
+    virCommandFree(cmd);
+    return ret;
 }
 
 /**
-- 
1.7.7.6

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