Signed-off-by: Tim Wiederhake <twiederh@xxxxxxxxxx> --- src/nwfilter/nwfilter_learnipaddr.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/nwfilter/nwfilter_learnipaddr.c b/src/nwfilter/nwfilter_learnipaddr.c index 907e4b2513..2177c5540b 100644 --- a/src/nwfilter/nwfilter_learnipaddr.c +++ b/src/nwfilter/nwfilter_learnipaddr.c @@ -774,16 +774,8 @@ virNWFilterLearnInit(void) VIR_DEBUG("Initializing IP address learning"); threadsTerminate = false; - pendingLearnReq = virHashNew(freeLearnReqEntry); - if (!pendingLearnReq) - return -1; - ifaceLockMap = virHashNew(g_free); - if (!ifaceLockMap) { - virNWFilterLearnShutdown(); - return -1; - } return 0; } -- 2.31.1