Re: [PATCH 2/8] network: Do not call virNetworkObjUnsetDefTransient on start cleanup

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

 



On 9/3/24 10:36 AM, Martin Kletzander wrote:
The function networkShutdownNetwork already does that.

(Harmless, but redundant)(or am I missing something?)

Signed-off-by: Martin Kletzander <mkletzan@xxxxxxxxxx>

Reviewed-by: Laine Stump <laine@xxxxxxxxxx>

---
  src/network/bridge_driver.c | 1 -
  1 file changed, 1 deletion(-)

diff --git a/src/network/bridge_driver.c b/src/network/bridge_driver.c
index 5b510a222cd2..b16d524aa181 100644
--- a/src/network/bridge_driver.c
+++ b/src/network/bridge_driver.c
@@ -2387,7 +2387,6 @@ networkStartNetwork(virNetworkDriverState *driver,
          virErrorPtr save_err;
virErrorPreserveLast(&save_err);
-        virNetworkObjUnsetDefTransient(obj);
          networkShutdownNetwork(driver, obj);
          virErrorRestore(&save_err);
      }



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

  Powered by Linux