[tor-commits] [tor/master] kist_no_kernel_support is unused when we didn't detect it.

nickm at torproject.org nickm at torproject.org
Fri Sep 15 20:44:24 UTC 2017


commit 4519b7b469635686dde00d334ab90f83b94eacc0
Author: Nick Mathewson <nickm at torproject.org>
Date:   Fri Sep 15 16:44:05 2017 -0400

    kist_no_kernel_support is unused when we didn't detect it.
    
    So, remove it.
---
 src/or/scheduler_kist.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/or/scheduler_kist.c b/src/or/scheduler_kist.c
index 2249d49f7..ba8d416db 100644
--- a/src/or/scheduler_kist.c
+++ b/src/or/scheduler_kist.c
@@ -37,7 +37,6 @@ static unsigned int kist_lite_mode = 0;
  * by KIST. In that case, fallback to the naive approach. */
 static unsigned int kist_no_kernel_support = 0;
 #else /* !(defined(HAVE_KIST_SUPPORT)) */
-static unsigned int kist_no_kernel_support = 1;
 static unsigned int kist_lite_mode = 1;
 #endif /* defined(HAVE_KIST_SUPPORT) */
 



More information about the tor-commits mailing list