]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
cleanup [RT #20509]
authorMark Andrews <marka@isc.org>
Wed, 4 Nov 2009 05:58:46 +0000 (05:58 +0000)
committerMark Andrews <marka@isc.org>
Wed, 4 Nov 2009 05:58:46 +0000 (05:58 +0000)
lib/isc/unix/app.c

index 04dfa7e5f8bb12e636a4d8d1de1eaad138e0dfd2..5393be94250434ae537e235917bf669f0d0c561c 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: app.c,v 1.63 2009/09/02 23:48:03 tbox Exp $ */
+/* $Id: app.c,v 1.64 2009/11/04 05:58:46 marka Exp $ */
 
 /*! \file */
 
 #include "socket_p.h"
 #endif /* USE_THREADS_SINGLECTX */
 
-/*!
- * We assume that 'want_shutdown' can be read and written atomically.
- */
-static volatile isc_boolean_t  want_shutdown = ISC_FALSE;
-/*
- * We assume that 'want_reload' can be read and written atomically.
- */
-static volatile isc_boolean_t  want_reload = ISC_FALSE;
-
 #ifdef ISC_PLATFORM_USETHREADS
 static pthread_t               blockedthread;
 #endif /* ISC_PLATFORM_USETHREADS */
@@ -504,11 +495,6 @@ evloop(isc__appctx_t *ctx) {
                if (n > 0)
                        (void)isc__socketmgr_dispatch(ctx->socketmgr, swait);
                (void)isc__taskmgr_dispatch(ctx->taskmgr);
-
-               if (want_reload) {
-                       want_reload = ISC_FALSE;
-                       return (ISC_R_RELOAD);
-               }
        }
        return (ISC_R_SUCCESS);
 }