From 47bd922f702d7890cc2667337c46e105cbcc75f1 Mon Sep 17 00:00:00 2001 From: Rajavardhan Gundi Date: Fri, 12 Oct 2018 10:22:18 +0530 Subject: [PATCH] xtensa: intel_s1000: Remove redundant call to soc_get_ref_clk_freq Call to soc_get_ref_clk_freq function is redundant in soc.c as it simply returns a global static variable. Hence removed that call. Signed-off-by: Rajavardhan Gundi --- soc/xtensa/intel_s1000/soc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/soc/xtensa/intel_s1000/soc.c b/soc/xtensa/intel_s1000/soc.c index 9d6fbcb221d..4edcedc446d 100644 --- a/soc/xtensa/intel_s1000/soc.c +++ b/soc/xtensa/intel_s1000/soc.c @@ -238,7 +238,6 @@ static int soc_init(struct device *dev) { soc_read_bootstraps(); - ref_clk_freq = soc_get_ref_clk_freq(); LOG_INF("Reference clock frequency: %u Hz", ref_clk_freq); soc_set_resource_ownership();