]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
remove some dead code
authorbert hubert <bert.hubert@netherlabs.nl>
Tue, 9 Dec 2014 18:18:36 +0000 (19:18 +0100)
committerbert hubert <bert.hubert@netherlabs.nl>
Tue, 9 Dec 2014 18:18:36 +0000 (19:18 +0100)
pdns/distributor.hh

index 77b46295ea72dc939f7f522a70ccbaaf20e111e0..6235ec0f681c485ca702b2e71cd97f721711ab1f 100644 (file)
@@ -134,9 +134,6 @@ private:
 
   Semaphore numquestions;
 
-  pthread_mutex_t to_mut;
-  pthread_cond_t to_cond;
-
   int nextid;
   time_t d_last_started;
   int d_num_threads;
@@ -169,9 +166,6 @@ template<class Answer, class Question, class Backend>MultiThreadDistributor<Answ
 //  sem_init(&numquestions,0,0);
   pthread_mutex_init(&q_lock,0);
 
-  pthread_mutex_init(&to_mut,0);
-  pthread_cond_init(&to_cond,0);
-
   pthread_t tid;
   
   L<<Logger::Warning<<"About to create "<<n<<" backend threads for UDP"<<endl;