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

[libvirt] [PATCH] util: whitespace change to virNetDevOpenvswitchAddPort



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


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