Removed redundant if from basic_timers.c

pull/1408/head
David Garcia Quintas 10 years ago
parent 7af45f2821
commit 31e3a6fc69
  1. 4
      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) {}

Loading…
Cancel
Save