aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2015-04-29 16:36:25 -0700
committerGravatar David Garcia Quintas <dgq@google.com>2015-04-29 16:36:25 -0700
commit31e3a6fc69aea5b5af34d86783866d113f9169c3 (patch)
treeecefa6768f01c71daa36ed94c15179831d82482b
parent7af45f2821504f19244140d4ea9bf69e5d6bf67c (diff)
Removed redundant if from basic_timers.c
-rw-r--r--src/core/profiling/basic_timers.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/profiling/basic_timers.c b/src/core/profiling/basic_timers.c
index 8dd944cd36..d89bba7b87 100644
--- a/src/core/profiling/basic_timers.c
+++ b/src/core/profiling/basic_timers.c
@@ -132,9 +132,7 @@ static void grpc_timers_log_add(grpc_timers_log* log, int tag, void* id,
/* Latency profiler API implementation. */
void grpc_timer_add_mark(int tag, void* id, const char* file, int line) {
- if (tag <= GRPC_PTAG_IGNORE_THRESHOLD) {
- grpc_timers_log_add(grpc_timers_log_global, tag, id, file, line);
- }
+ grpc_timers_log_add(grpc_timers_log_global, tag, id, file, line);
}
void grpc_timer_begin(int tag, void* id, const char *file, int line) {}