From c478c7776359da4d52544a95ef84ba3b297524b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Tue, 21 Sep 2021 10:56:42 +0200 Subject: [PATCH] Remove CONTRIB_DLZ traces from bin/named/main.c The named main.c had leftovers guarded by CONTRIB_DLZ macro which has been removed. This commit removes the dead code surrounded by ifdef CONTRIB_DLZ. --- bin/named/main.c | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/bin/named/main.c b/bin/named/main.c index bc43aa1bbc..72b6166329 100644 --- a/bin/named/main.c +++ b/bin/named/main.c @@ -106,13 +106,6 @@ */ /* #include "xxdb.h" */ -#ifdef CONTRIB_DLZ -/* - * Include contributed DLZ drivers if appropriate. - */ -#include -#endif /* ifdef CONTRIB_DLZ */ - /* * The maximum number of stack frames to dump on assertion failure. */ @@ -1226,17 +1219,6 @@ setup(void) { isc_result_totext(result)); } -#if CONTRIB_DLZ - /* - * Register any other contributed DLZ drivers. - */ - result = dlz_drivers_init(); - if (result != ISC_R_SUCCESS) { - named_main_earlyfatal("dlz_drivers_init() failed: %s", - isc_result_totext(result)); - } -#endif /* if CONTRIB_DLZ */ - named_server_create(named_g_mctx, &named_g_server); ENSURE(named_g_server != NULL); sctx = named_g_server->sctx; @@ -1302,12 +1284,6 @@ cleanup(void) { */ /* xxdb_clear(); */ -#ifdef CONTRIB_DLZ - /* - * Unregister contributed DLZ drivers. - */ - dlz_drivers_clear(); -#endif /* ifdef CONTRIB_DLZ */ /* * Unregister "dlopen" DLZ driver. */