diff --git a/services/time_manager/src/time_service.cpp b/services/time_manager/src/time_service.cpp index 4665c5c..33a0598 100644 --- a/services/time_manager/src/time_service.cpp +++ b/services/time_manager/src/time_service.cpp @@ -569,9 +569,6 @@ bool TimeService::GetTimeByClockid(clockid_t clk_id, struct timespec &tv) TIME_HILOGE(TIME_MODULE_SERVICE, "Failed clock_gettime."); return false; } - auto times = tv.tv_sec * NANO_TO_BASE + tv.tv_nsec; - TIME_HILOGD(TIME_MODULE_SERVICE, "Clock ID: %{public}d", clk_id); - TIME_HILOGD(TIME_MODULE_SERVICE, "Time result: %{public}" PRId64 "", times); return true; } void TimeService::NetworkTimeStatusOff()