tsan: simplify TSAN_HISTORY_SIZE code


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162905 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/tsan/rtl/tsan_trace.h b/lib/tsan/rtl/tsan_trace.h
index 5e46bfb..97ec969 100644
--- a/lib/tsan/rtl/tsan_trace.h
+++ b/lib/tsan/rtl/tsan_trace.h
@@ -19,12 +19,12 @@
 
 namespace __tsan {
 
-const int kTracePartSize = 16 * 1024;
 #ifndef TSAN_HISTORY_SIZE  // in kibitraces
-const int kTraceParts = 8;
-#else
-const int kTraceParts = TSAN_HISTORY_SIZE * 1024 / kTracePartSize;
+#define TSAN_HISTORY_SIZE 128
 #endif
+
+const int kTracePartSize = 16 * 1024;
+const int kTraceParts = TSAN_HISTORY_SIZE * 1024 / kTracePartSize;
 const int kTraceSize = kTracePartSize * kTraceParts;
 
 // Must fit into 3 bits.