From 5128602b4950c31425e3c30244cfc889f7bc2789 Mon Sep 17 00:00:00 2001 From: Shu Chen Date: Fri, 30 Jun 2017 00:46:25 +0800 Subject: [PATCH] [Timer] Remove unused HoursToMsec() and MsecToHours() (#1947) --- src/core/common/timer.hpp | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/core/common/timer.hpp b/src/core/common/timer.hpp index 18c3db12e..a081ba287 100644 --- a/src/core/common/timer.hpp +++ b/src/core/common/timer.hpp @@ -233,22 +233,6 @@ public: */ static uint32_t MsecToSec(uint32_t aMilliseconds) { return aMilliseconds / 1000u; } - /** - * This static method returns the number of milliseconds given hours. - * - * @returns The number of milliseconds. - * - */ - static uint32_t HoursToMsec(uint32_t aHours) { return SecToMsec(aHours * 3600u); } - - /** - * This static method returns the number of hours given milliseconds. - * - * @returns The number of hours. - * - */ - static uint32_t MsecToHours(uint32_t aMilliseconds) { return MsecToSec(aMilliseconds / 3600u); } - private: /** * This method indicates if the fire time of this timer is strictly before the fire time of a second given timer.