There is no longer anything to initialize at binary startup time.
Signed-off-by: Laine Stump <laine(a)redhat.com>
---
src/util/virfirewall.c | 16 +---------------
1 file changed, 1 insertion(+), 15 deletions(-)
diff --git a/src/util/virfirewall.c b/src/util/virfirewall.c
index 98d78857df..70092f2ef6 100644
--- a/src/util/virfirewall.c
+++ b/src/util/virfirewall.c
@@ -82,15 +82,6 @@ struct _virFirewall {
static virMutex ruleLock = VIR_MUTEX_INITIALIZER;
-static int
-virFirewallOnceInit(void)
-{
- return 0;
-}
-
-VIR_ONCE_GLOBAL_INIT(virFirewall);
-
-
static virFirewallGroup *
virFirewallGroupNew(void)
{
@@ -110,12 +101,7 @@ virFirewallGroupNew(void)
*/
virFirewall *virFirewallNew(void)
{
- virFirewall *firewall;
-
- if (virFirewallInitialize() < 0)
- return NULL;
-
- firewall = g_new0(virFirewall, 1);
+ virFirewall *firewall = g_new0(virFirewall, 1);
return firewall;
}
--
2.33.1