]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Remove CONTRIB_DLZ traces from bin/named/main.c
authorOndřej Surý <ondrej@isc.org>
Tue, 21 Sep 2021 08:56:42 +0000 (10:56 +0200)
committerOndřej Surý <ondrej@isc.org>
Tue, 21 Sep 2021 09:16:53 +0000 (11:16 +0200)
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

index bc43aa1bbc7c0b34d6dde964cf03024eecb78b39..72b6166329505ae6d81997fc32b1f536e83f90a3 100644 (file)
  */
 /* #include "xxdb.h" */
 
-#ifdef CONTRIB_DLZ
-/*
- * Include contributed DLZ drivers if appropriate.
- */
-#include <dlz/dlz_drivers.h>
-#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.
         */