[libvirt PATCH 08/10] virNWFilterDoInstantiate: `virHashNew` cannot return NULL

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

 



Signed-off-by: Tim Wiederhake <twiederh@xxxxxxxxxx>
---
 src/nwfilter/nwfilter_gentech_driver.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/nwfilter/nwfilter_gentech_driver.c b/src/nwfilter/nwfilter_gentech_driver.c
index 8aa1db23d3..114c1cef4f 100644
--- a/src/nwfilter/nwfilter_gentech_driver.c
+++ b/src/nwfilter/nwfilter_gentech_driver.c
@@ -519,11 +519,6 @@ virNWFilterDoInstantiate(virNWFilterTechDriver *techdriver,
 
     memset(&inst, 0, sizeof(inst));
 
-    if (!missing_vars) {
-        rc = -1;
-        goto error;
-    }
-
     rc = virNWFilterDetermineMissingVarsRec(filter,
                                             binding->filterparams,
                                             missing_vars,
-- 
2.31.1




[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