mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
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.
This commit is contained in:
parent
5acac71f20
commit
c478c77763
@ -106,13 +106,6 @@
|
||||
*/
|
||||
/* #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.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user