From d44f57a56d9b8ff1db7112046e5332735350185a Mon Sep 17 00:00:00 2001 From: Kshitij Sisodia Date: Thu, 9 Jun 2022 09:54:21 +0100 Subject: MLCE-864: Removing redundant warning MPS3 clock is logged in the output, removing the warning as profiling would be impacted by this additional logging over UART. Change-Id: I1f941a75752bed0c871240aee664f8191916ab1d --- source/hal/source/platform/mps3/source/timer_mps3.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/source/hal/source/platform/mps3/source/timer_mps3.c b/source/hal/source/platform/mps3/source/timer_mps3.c index beb0435..bce782c 100644 --- a/source/hal/source/platform/mps3/source/timer_mps3.c +++ b/source/hal/source/platform/mps3/source/timer_mps3.c @@ -139,9 +139,6 @@ uint32_t get_mps3_core_clock(void) const uint32_t default_clock = 32000000 /* 32 MHz clock */; static int warned_once = 0; if (0 != MPS3_SCC->CFG_ACLK) { - if (default_clock != MPS3_SCC->CFG_ACLK) { - warn("System clock is different to the MPS3 config set clock.\n"); - } return MPS3_SCC->CFG_ACLK; } -- cgit v1.2.1